Browse Source

Correct the loop through search engines
Fix #432

Cqoicebordel 9 years ago
parent
commit
a75d10206e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      searx/templates/pix-art/preferences.html

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

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