commit: c2951e16a5c74358af0defb67e82510f8ec26aca
parent: 6ff57dfbe1b9c011b7bb3f0fce967fad70e5ca72
Author: Adam Tauber <asciimoo@gmail.com>
Date: Tue, 4 Mar 2014 19:25:59 +0100
[fix] search url categories
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/searx/templates/results.html b/searx/templates/results.html
@@ -20,7 +20,7 @@
<div id="search_url">
{{ _('Search URL') }}:
- <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}" readonly="" />
+ <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_") }}{% endif %}" readonly="" />
</div>
<div id="apis">
{{ _('Download results') }}