1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-19 02:40:11 +01:00

[fix] autocomplete x-suggestion

This commit is contained in:
Adam Tauber 2014-12-09 00:57:04 +01:00
parent 0f4cb32bf1
commit 41aca9a068

View File

@ -402,7 +402,7 @@ def autocompleter():
# return autocompleter results
if request_data.get('format') == 'x-suggestions':
return Response(json.dumps([query, results]),
return Response(json.dumps([query.query, results]),
mimetype='application/json')
else:
return Response(json.dumps(results),