浏览代码

Merge pull request #435 from Cqoicebordel/fix_prefs_pixart

Correct the loop through search engines in Pix-Art
Adam Tauber 9 年前
父节点
当前提交
8adc80123a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      searx/templates/pix-art/preferences.html

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

53
             <th>{{ _('Engine name') }}</th>
53
             <th>{{ _('Engine name') }}</th>
54
             <th>{{ _('Allow') }} / {{ _('Block') }}</th>
54
             <th>{{ _('Allow') }} / {{ _('Block') }}</th>
55
         </tr>
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
             {% if not search_engine.private %}
59
             {% if not search_engine.private %}
60
             <tr>
60
             <tr>