mirror of
https://github.com/searxng/searxng.git
synced 2025-07-16 09:49:21 +02:00
Merge pull request #485 from dalf/pref_query_in_title
[mod] new preference: query_in_title
This commit is contained in:
commit
42c1a938f0
8 changed files with 42 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue