Explorar el Código

[fix] search url categories

Adam Tauber hace 11 años
padre
commit
c2951e16a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      searx/templates/results.html

+ 1
- 1
searx/templates/results.html Ver fichero

@@ -20,7 +20,7 @@
20 20
 
21 21
         <div id="search_url">
22 22
             {{ _('Search URL') }}:
23
-            <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}" readonly="" />
23
+            <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_") }}{% endif %}" readonly="" />
24 24
         </div>
25 25
         <div id="apis">
26 26
         {{ _('Download results') }}