Merge pull request #1761 from kaedroho/fix-search-suggestions

Fix search suggestions
pull/1766/head
Karl Hobley 2015-10-01 17:23:02 +01:00
commit e955f7da4c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -77,7 +77,7 @@ def search(
if hasattr(result_specific, attr)
))
return JsonResponse(search_results_json)
return JsonResponse(search_results_json, safe=False)
else:
return JsonResponse([], safe=False)
else: # Render a template