Use the item view for the search results.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-07-14 14:09:27 -04:00
parent af3fed2a18
commit b8c74125e8

View File

@@ -19,6 +19,7 @@ class ResultsView(SearchModelMixin, SingleObjectListView):
def get_extra_context(self):
context = {
'hide_links': True,
'list_as_items': True,
'search_model': self.search_model,
'search_results_limit': setting_limit.value,
'title': _('Search results for: %s') % self.search_model.label,