API page: http://api.drupal.org/api/drupal/modules--search--search-result.tpl.php/7
Describe the problem you have found:
The Manage Display section for a content type allows one to define the search results display-- same as with teaser and Full content display. And it appears that Drupal is rendering the display for each result (returned at $variables['results'][n]['node']['rendered']) per the settings defined under Manage Display.
However, the search-result.tpl.php file (that comes as part of core) renders the search results in an older format, ignoring the customization set through Manage Display.
I don't think that this would be hard to patch-- and I'm interested in giving it a try-- but I wanted to check to see if there was a reason why search-result.tpl.php was left without this change. I wasn't able to find any discussion on this topic via Google or the Drupal search.
Am I missing anything here? Anyone have a patch for this already in the works?
Thanks,
JK
Comments
Comment #1
franzI couldn't find where the error lies. Can you post the patch?
Comment #2
yoroy CreditAttribution: yoroy commented#1166114: Manage Displays Search Results doesn't manage the display of the search results is where the action is for this bug :)
Comment #3
jkaine CreditAttribution: jkaine commentedyoroy, thanks for syncing up my report with the larger thread. I'm subscribing over there.
JK