summaryrefslogtreecommitdiff
path: root/searx/preferences.py
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2023-08-20 14:03:03 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-08-27 21:23:43 +0200
commite5535ec078776d07d8eeac0d51dc8f17f77cfb27 (patch)
tree40b4584b3a9ae10b943ce429e418d378831e058e /searx/preferences.py
parent5a5cfc19305b294bbcd45a54e937fd0252d80253 (diff)
downloadsearxng-e5535ec078776d07d8eeac0d51dc8f17f77cfb27.tar.gz
searxng-e5535ec078776d07d8eeac0d51dc8f17f77cfb27.zip
[feat] settings: replace boolean select preferences with checkboxes
Diffstat (limited to 'searx/preferences.py')
-rw-r--r--searx/preferences.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/searx/preferences.py b/searx/preferences.py
index aba712652..6e7d4a5e1 100644
--- a/searx/preferences.py
+++ b/searx/preferences.py
@@ -383,7 +383,8 @@ class Preferences:
'0': False,
'1': True,
'True': True,
- 'False': False
+ 'False': False,
+ 'on': True
}
),
'method': EnumStringSetting(
@@ -412,7 +413,8 @@ class Preferences:
'0': False,
'1': True,
'False': False,
- 'True': True
+ 'True': True,
+ 'on': True
}
),
'doi_resolver': MultipleChoiceSetting(
@@ -432,7 +434,8 @@ class Preferences:
'0': False,
'1': True,
'False': False,
- 'True': True
+ 'True': True,
+ 'on': True
}
),
'advanced_search': MapSetting(
@@ -454,7 +457,8 @@ class Preferences:
'0': False,
'1': True,
'True': True,
- 'False': False
+ 'False': False,
+ 'on': True
}
),
'infinite_scroll': MapSetting(
@@ -465,7 +469,8 @@ class Preferences:
'0': False,
'1': True,
'True': True,
- 'False': False
+ 'False': False,
+ 'on': True
}
),
# fmt: on