[drupal-devel] [bug] Bugfix (?) to search_data function (hook_search_item not working)

adixon drupal-devel at drupal.org
Fri Aug 12 16:48:01 UTC 2005


Issue status update for 
http://drupal.org/node/28767
Post a follow up: 
http://drupal.org/project/comments/add/28767

 Project:      Drupal
 Version:      cvs
 Component:    search.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  adixon
 Updated by:   adixon
 Status:       patch (code needs review)

I think that line 678:


          $output .= theme('search_item', $entry, $type);


should be


          $output .= theme('search_item', $entry,
$entry['type']);


so that hook_search_item is in fact invoked for the particular entry's
module type.




adixon




More information about the drupal-devel mailing list