diff options
author | David A Roberts <d@vidr.cc> | 2017-01-14 18:40:37 +1000 |
---|---|---|
committer | David A Roberts <d@vidr.cc> | 2017-01-16 13:31:16 +1000 |
commit | 1d30141c207e51c142cab3eee97783f08c1cb5c9 (patch) | |
tree | b3e07ba1168d274b3b789721270bac20edb30432 /searx/webapp.py | |
parent | d6cbc6b78be5e97cae8a12fb18ace9d51be5df55 (diff) | |
download | searxng-1d30141c207e51c142cab3eee97783f08c1cb5c9.tar.gz searxng-1d30141c207e51c142cab3eee97783f08c1cb5c9.zip |
[enh] show spelling corrections
Diffstat (limited to 'searx/webapp.py')
-rw-r--r-- | searx/webapp.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index b2fca5313..0b7169310 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -479,6 +479,7 @@ def index(): 'number_of_results': number_of_results, 'results': results, 'answers': list(result_container.answers), + 'corrections': list(result_container.corrections), 'infoboxes': result_container.infoboxes, 'suggestions': list(result_container.suggestions)}), mimetype='application/json') @@ -515,6 +516,7 @@ def index(): advanced_search=advanced_search, suggestions=result_container.suggestions, answers=result_container.answers, + corrections=result_container.corrections, infoboxes=result_container.infoboxes, paging=result_container.paging, current_language=search_query.lang, |