mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 13:49:26 +02:00
[mod] new preference: query_in_title
* disable by default * settings.yml: ui.query_in_title * in /preferences: privacy tab when enabled, the result page's title contains the user query. previously: * oscar theme: the query was always included * simple theme: the query was included with the GET method
This commit is contained in:
parent
90acb342d3
commit
80fb77476f
8 changed files with 42 additions and 2 deletions
|
@ -405,6 +405,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