mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Fix search suggestions
This commit is contained in:
parent
7de03ef8c4
commit
99289a2849
@ -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