summaryrefslogtreecommitdiff
path: root/searx/preferences.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/preferences.py')
-rw-r--r--searx/preferences.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/searx/preferences.py b/searx/preferences.py
index e5ad6ead7..b37f0104a 100644
--- a/searx/preferences.py
+++ b/searx/preferences.py
@@ -395,6 +395,15 @@ class Preferences:
settings['ui'].get('theme_args', {}).get('oscar_style', 'logicodev'),
is_locked('oscar-style'),
choices=['', 'logicodev', 'logicodev-dark', 'pointhi']),
+ 'advanced_search': MapSetting(
+ settings['ui'].get('advanced_search', False),
+ map={
+ '0': False,
+ '1': True,
+ 'False': False,
+ 'True': True
+ }
+ ),
}
self.engines = EnginesSetting('engines', choices=engines)