diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html index ee1052db..3a1f8406 100644 --- a/searx/templates/oscar/results.html +++ b/searx/templates/oscar/results.html @@ -21,7 +21,7 @@ {{ _('Try searching for:') }} {% for correction in corrections %} {% endfor %} @@ -118,7 +118,7 @@
{% for suggestion in suggestions %} {% endfor %} diff --git a/searx/webapp.py b/searx/webapp.py index dd4c8409..4c983509 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -584,6 +584,7 @@ def index(): 'results.html', results=results, q=request.form['q'], + query_prefix=u''.join((request.form['q']).rsplit(search_query.query.decode('utf-8'), 1)), selected_categories=search_query.categories, pageno=search_query.pageno, time_range=search_query.time_range,