use correct template for search results