Merge pull request #2167 from scottwallacesh/fix_1552

Add key to settings.yml for opening result links in a new tab
This commit is contained in:
Adam Tauber 2020-09-02 00:37:29 +02:00 committed by GitHub
commit f77ad22d65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -364,7 +364,7 @@ class Preferences(object):
choices=themes choices=themes
), ),
'results_on_new_tab': MapSetting( 'results_on_new_tab': MapSetting(
False, settings['ui'].get('results_on_new_tab', False),
map={ map={
'0': False, '0': False,
'1': True, '1': True,

View File

@ -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 default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
theme_args : theme_args :
oscar_style : logicodev # default style of oscar oscar_style : logicodev # default style of oscar
# results_on_new_tab: False # Open result links in a new tab by default
# categories_order : # categories_order :
# - general # - general
# - files # - files