diff --git a/search/views.py b/search/views.py index 5846d946..318e0269 100644 --- a/search/views.py +++ b/search/views.py @@ -225,6 +225,7 @@ def get_results(query, request, filters={}): results[r] = results[r].distinct()[:max_result] results.update({'max_result': max_result}) + results.update({'search_term': query}) return results diff --git a/templates/base.html b/templates/base.html index 0e8c6187..bef52a8b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -74,7 +74,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,