Updated: Comment #13
The search result templates split apart the OL and the LI parts of an item list. This goes against the principal of keeping single HTML elements in single template files, one of our principles for cleaning up the theme layer.
Remove search-results and use the standard item_list theme template/function, with a suggestion so it can be uniquely themed for search results purposes.
Latest patch in #13 is perfect :) However it is currently blocked by:
User interface changes
There will be no more theme('search_results'), but only theme('search_result'). Similarly, the preprocess and other hooks will only apply to search_result.
This means only one template for themers to modify and only one preprocess hook for modules to use if they want to affect how search results are displayed, rather than two, which should be simpler. Themes can still have good control over the output via the theme suggestions on the item list that displays on the results page.
PASSED: [[SimpleTest]]: [MySQL] 64,217 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 63,745 pass(es). View