From 99289a2849aa89ff26f091b313289e625acc7a77 Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Thu, 1 Oct 2015 12:45:25 +0100 Subject: [PATCH] Fix search suggestions --- wagtail/wagtailsearch/views/frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wagtail/wagtailsearch/views/frontend.py b/wagtail/wagtailsearch/views/frontend.py index 8e477097a8..d551863e45 100644 --- a/wagtail/wagtailsearch/views/frontend.py +++ b/wagtail/wagtailsearch/views/frontend.py @@ -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