summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/preferences.py2
-rw-r--r--searx/settings.yml1
2 files changed, 2 insertions, 1 deletions
diff --git a/searx/preferences.py b/searx/preferences.py
index cb33bc5aa..82b8f5224 100644
--- a/searx/preferences.py
+++ b/searx/preferences.py
@@ -364,7 +364,7 @@ class Preferences(object):
choices=themes
),
'results_on_new_tab': MapSetting(
- False,
+ settings['ui'].get('results_on_new_tab', False),
map={
'0': False,
'1': True,
diff --git a/searx/settings.yml b/searx/settings.yml
index 6f9afd139..d6ea53177 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -25,6 +25,7 @@ ui:
default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
theme_args :
oscar_style : logicodev # default style of oscar
+# results_on_new_tab: False # Open result links in a new tab by default
# categories_order :
# - general
# - files