Pārlūkot izejas kodu

Correct the loop through search engines

Cqoicebordel 9 gadus atpakaļ
vecāks
revīzija
a75d10206e
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      searx/templates/pix-art/preferences.html

+ 2
- 2
searx/templates/pix-art/preferences.html Parādīt failu

@@ -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>