do not preserve all GET parameters upon new search
This commit is contained in:
Родитель
f42dba325c
Коммит
9bf725b90c
|
@ -9,9 +9,9 @@
|
|||
<input id="search-q" type="text" name="q" autocomplete="off" title=""
|
||||
placeholder="{{ search_form.placeholder(search_placeholder) }}"
|
||||
value="{{ search_form.q.value() }}">
|
||||
{% for key, value in request.GET.items() %}
|
||||
<input type="hidden" name="{{ key }}" value="{{ value }}">
|
||||
{% endfor %}
|
||||
{% if search_form.cat.value() %}
|
||||
{{ search_form.cat }}
|
||||
{% endif %}
|
||||
<div id="site-search-suggestions"
|
||||
data-cat="apps" data-src="{{ url('search.suggestions') }}"></div>
|
||||
</form>
|
||||
|
|
Загрузка…
Ссылка в новой задаче