summaryrefslogtreecommitdiff
path: root/searx/preferences.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/preferences.py')
-rw-r--r--searx/preferences.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/searx/preferences.py b/searx/preferences.py
index 9c549cc01..4d0cc5c0a 100644
--- a/searx/preferences.py
+++ b/searx/preferences.py
@@ -411,6 +411,17 @@ class Preferences:
'on': True,
}
),
+ 'query_in_title': MapSetting(
+ settings['ui']['query_in_title'],
+ is_locked('query_in_title'),
+ map={
+ '': settings['ui']['query_in_title'],
+ '0': False,
+ '1': True,
+ 'True': True,
+ 'False': False
+ }
+ ),
}
self.engines = EnginesSetting('engines', choices=engines)