Allow to search for factoids
sun - December 3, 2008 - 02:59
| Project: | Bot |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
This has been asked for many times in IRC. Attached patch implements a simple, GET-based search form that optionally adds a case-insensitive WHERE clause to the query.
By using GET, the search query is passed on to pager links. Unfortunately, FAPI does not support _validate and _submit functions for GET-based forms yet, so we need to manually check whether the Reset button has been pushed.
Cool?
| Attachment | Size |
|---|---|
| bot-DRUPAL-6--1.factoid-search.patch | 2.57 KB |

#1
Here's a screenshot of how it should look like.