Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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?
Comment | File | Size | Author |
---|---|---|---|
#1 | factoid-search.png | 27.04 KB | sun |
bot-DRUPAL-6--1.factoid-search.patch | 2.57 KB | sun |
Comments
Comment #1
sunHere's a screenshot of how it should look like.
Comment #2
tim.plunkettComing back to this.
Comment #3
YesCT CreditAttribution: YesCT commentedrelated/duplicate: #1886516: Add search to browsable factoids
Comment #4
Dave ReidFrom #1886516: Add search to browsable factoids: "Expose bot factoids to Views API and add a default view with filters. Done."
Comment #5
star-szrI would be interested in implementing the idea mentioned in #4 but would like to hear from Morbus first before jumping in.
Comment #6
larowlanhttps://www.drupal.org/project/bot_factoid_search provides this
Comment #7
charginghawk CreditAttribution: charginghawk commentedI would like to see this implemented! There has to be a better way than searching Google for Druplicon factoids.