Merge pull request #2167 from scottwallacesh/fix_1552
Add key to settings.yml for opening result links in a new tab
commitf77ad22d65df391098cde18196fdf1054419be1d
authorAdam Tauber <asciimoo@gmail.com>
dateWed 2 Sep 2020, 00:37 (6 years ago)
parent4a913248bcba31
searx/preferences.py+1−1
@@ -364,7 +364,7 @@ class Preferences(object):
364364 choices=themes
365365 ),
366366 'results_on_new_tab': MapSetting(
367− False,
367+ settings['ui'].get('results_on_new_tab', False),
368368 map={
369369 '0': False,
370370 '1': True,
searx/settings.yml+1
@@ -25,6 +25,7 @@ ui:
2525 default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
2626 theme_args :
2727 oscar_style : logicodev # default style of oscar
28+# results_on_new_tab: False # Open result links in a new tab by default
2829# categories_order :
2930# - general
3031# - files