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.
The search module doesn't bring the $edit variable into scope so the form doesn't display what you selected to search for. In addition the $names should be ${name}s to work properly.
Comment | File | Size | Author |
---|---|---|---|
drupal-search.patch | 1.01 KB | Kjartan | |
Comments
Comment #1
Dries CreditAttribution: Dries commentedThe search form seems to display the keys I searched for. How can I reproduce this problem?
Comment #2
Kjartan CreditAttribution: Kjartan commentedIndeed, but if you restrict it to a say a comments then that isn't checked.
Comment #3
Dries CreditAttribution: Dries commentedThanks for the clarification. Committed the patch to HEAD but changed
$_REQUEST
to$_POST
. Backported the fix to the DRUPAL-4-3 branch.Comment #4
(not verified) CreditAttribution: commented