From e5535ec078776d07d8eeac0d51dc8f17f77cfb27 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sun, 20 Aug 2023 14:03:03 +0200 Subject: [feat] settings: replace boolean select preferences with checkboxes --- searx/preferences.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'searx/preferences.py') 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 -- cgit v1.2.3