Bläddra i källkod

Correct the loop through search engines

Cqoicebordel 9 år sedan
förälder
incheckning
a75d10206e
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      searx/templates/pix-art/preferences.html

+ 2
- 2
searx/templates/pix-art/preferences.html Visa fil

@@ -53,8 +53,8 @@
53 53
             <th>{{ _('Engine name') }}</th>
54 54
             <th>{{ _('Allow') }} / {{ _('Block') }}</th>
55 55
         </tr>
56
-    {% for (categ,search_engines) in categs %}
57
-        {% for search_engine in search_engines %}
56
+    {% for categ in all_categories %}
57
+        {% for search_engine in engines_by_category[categ] %}
58 58
 
59 59
             {% if not search_engine.private %}
60 60
             <tr>