Browse Source

correct "You search for..." text and formatting on search results page

Tobias McNulty 7 years ago
parent
commit
6e89be1e0b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bakerydemo/templates/search/search_results.html

+ 1 - 1
bakerydemo/templates/search/search_results.html

@@ -9,7 +9,7 @@
     </h1>
 
     {% if search_results %}
-    You searched <p>{% if request.GET.query %} for “{{ request.GET.query }}”{% endif %}</p>
+    <p>You searched{% if search_query %} for “{{ search_query }}”{% endif %}</p>
         <ul>
             {% for result in search_results %}
                 <li>