Browse Source

[fix] search url categories

Adam Tauber 11 years ago
parent
commit
c2951e16a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/templates/results.html

+ 1 - 1
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') }}