Sfoglia il codice sorgente

[fix] search url categories

Adam Tauber 11 anni fa
parent
commit
c2951e16a5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      searx/templates/results.html

+ 1
- 1
searx/templates/results.html Vedi File

@@ -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') }}