[fix] preserve bangs in suggestions and corrections

This commit is contained in:
Marc Abonce Seguin 2019-07-01 19:52:34 -05:00
parent 40272b0044
commit 6626f01365
2 changed files with 3 additions and 2 deletions

View file

@ -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,