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.

CommentFileSizeAuthor
drupal-search.patch1.01 KBKjartan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dries’s picture

The search form seems to display the keys I searched for. How can I reproduce this problem?

Kjartan’s picture

Indeed, but if you restrict it to a say a comments then that isn't checked.

Dries’s picture

Thanks for the clarification. Committed the patch to HEAD but changed $_REQUEST to $_POST. Backported the fix to the DRUPAL-4-3 branch.

Anonymous’s picture