summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2014-02-15 07:51:17 +0100
committerasciimoo <asciimoo@gmail.com>2014-02-15 07:51:17 +0100
commitced6a94591b9c4953899fcb77197007b337ebae8 (patch)
tree74ac474da174a95d2b375aa42c10fc7ec8dd3376 /searx/templates
parent77b936e3be280292af941d5c48dbfbb3a8a5ee6e (diff)
downloadsearxng-ced6a94591b9c4953899fcb77197007b337ebae8.tar.gz
searxng-ced6a94591b9c4953899fcb77197007b337ebae8.zip
[fix][#36] paging category reset
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/results.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/searx/templates/results.html b/searx/templates/results.html
index df249058b..eb37ab33a 100644
--- a/searx/templates/results.html
+++ b/searx/templates/results.html
@@ -62,6 +62,9 @@
<form method="post" action="/">
<div class="left">
<input type="hidden" name="q" value="{{ q }}" />
+ {% for category in selected_categories %}
+ <input type="hidden" name="category_{{ category }}" value="1"/>
+ {% endfor %}
<input type="hidden" name="pageno" value="{{ pageno-1 }}" />
<input type="submit" value="<< {{ _('previous page') }}" />
</div>
@@ -69,6 +72,9 @@
{% endif %}
<form method="post" action="/">
<div class="left">
+ {% for category in selected_categories %}
+ <input type="hidden" name="category_{{ category }}" value="1"/>
+ {% endfor %}
<input type="hidden" name="q" value="{{ q }}" />
<input type="hidden" name="pageno" value="{{ pageno+1 }}" />
<input type="submit" value="{{ _('next page') }} >>" />