mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Merge pull request #1761 from kaedroho/fix-search-suggestions
Fix search suggestions
This commit is contained in:
commit
e955f7da4c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user