summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorLéon Tiekötter <leon@tiekoetter.com>2022-07-17 19:51:12 +0200
committerLéon Tiekötter <leon@tiekoetter.com>2022-07-17 19:51:12 +0200
commitd339e97727b5aee132b5e38d2ebb2ab33ac3f16f (patch)
treef89aaa941e8c783f91a3e2394afbec7fbda21be6 /searx
parent7bf4e8d12d1d0ee53bf71f7c3a4010ef936f25d9 (diff)
downloadsearxng-d339e97727b5aee132b5e38d2ebb2ab33ac3f16f.tar.gz
searxng-d339e97727b5aee132b5e38d2ebb2ab33ac3f16f.zip
[fix] preferences: missing option value
Fix missing option value "0".
Diffstat (limited to 'searx')
-rw-r--r--searx/templates/simple/preferences.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html
index 8ee0a02c7..7f9be5693 100644
--- a/searx/templates/simple/preferences.html
+++ b/searx/templates/simple/preferences.html
@@ -270,7 +270,7 @@
<p class="value">
<select name='image_proxy' aria-labelledby="pref_image_proxy">
<option value="1" {% if image_proxy %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
- <option value="" {% if not image_proxy %}selected="selected"{% endif %}>{{ _('Disabled') }}</option>
+ <option value="0" {% if not image_proxy %}selected="selected"{% endif %}>{{ _('Disabled') }}</option>
</select>
</p>
<div class="description">{{ _('Proxying image results through SearXNG') }}</div>
@@ -282,7 +282,7 @@
<p class="value">
<select name='query_in_title' aria-labelledby="pref_query_in_title">
<option value="1" {% if query_in_title %}selected="selected"{% endif %}>{{ _('Enabled') }}</option>
- <option value="" {% if not query_in_title %}selected="selected"{% endif %}>{{ _('Disabled') }}</option>
+ <option value="0" {% if not query_in_title %}selected="selected"{% endif %}>{{ _('Disabled') }}</option>
</select>
</p>
<div class="description">{{ _("When enabled, the result page's title contains your query. Your browser can record this title") }}</div>