diff options
| author | Bnyro <bnyro@tutanota.com> | 2023-09-27 17:46:27 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-09-28 10:45:49 +0200 |
| commit | 75587d03a6766c87f2f1964c82080393559ed623 (patch) | |
| tree | a3d19841b493248072f933cf6d1a2506a41aca3d /searx/templates | |
| parent | e37d775fa2da6de818e0dc73842bbb0bddc615ef (diff) | |
[fix] categories.html: can't select social media category using search on category select
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/simple/categories.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/categories.html b/searx/templates/simple/categories.html index 6ba550015..65f8aeaf4 100644 --- a/searx/templates/simple/categories.html +++ b/searx/templates/simple/categories.html @@ -26,7 +26,7 @@ {%- if display_tooltip %}<div class="help">{{ _('Click on the magnifier to perform search') }}</div>{% endif -%} {%- else -%} {%- for category in categories_as_tabs -%}{{- '\n' -}} - <button type="submit" name="category_{{ category|replace(' ', '_') }}" class="category category_button {% if category in selected_categories %}selected{% endif %}"> + <button type="submit" name="category_{{ category }}" class="category category_button {% if category in selected_categories %}selected{% endif %}"> {{- icon_big(category_icons[category]) if category in category_icons else icon_big('globe-outline') -}} <div class="category_name">{{- _(category) -}}</div>{{- '' -}} </button>{{- '' -}} |