In theme_trip_search_item(), $type never has the node type, so module_invoke($type, 'search_item', $item) never works. The problem appears to be the way $item['type'] is populated in _trip_search_do_search()

Comments

mindless’s picture

if you change:
$str .= theme('trip_search_item', $item, $item['type']);
to:
$str .= theme('trip_search_item', $item, $node->type);
then does it work?

Leeteq’s picture

Is this acknowledged as a bug?
Is it recommended to make that code adjustment?