瀏覽代碼

Correct the loop through search engines

Cqoicebordel 9 年之前
父節點
當前提交
a75d10206e
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      searx/templates/pix-art/preferences.html

+ 2
- 2
searx/templates/pix-art/preferences.html 查看文件

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