mirror of
https://github.com/searxng/searxng.git
synced 2025-07-16 01:39:24 +02:00
Add preference for displaying advanced settings
This commit is contained in:
parent
2fc3b17c85
commit
b00f77059c
3 changed files with 22 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue