mirror of
https://github.com/searxng/searxng
synced 2024-11-03 09:40:20 +00:00
Merge pull request #1191 from tiekoetter/fix-get-method
[fix] PR 1186: GET method
This commit is contained in:
commit
2bc836e85d
@ -459,6 +459,7 @@ def render(template_name: str, **kwargs):
|
|||||||
kwargs['query_in_title'] = request.preferences.get_value('query_in_title')
|
kwargs['query_in_title'] = request.preferences.get_value('query_in_title')
|
||||||
kwargs['safesearch'] = str(request.preferences.get_value('safesearch'))
|
kwargs['safesearch'] = str(request.preferences.get_value('safesearch'))
|
||||||
kwargs['theme'] = request.preferences.get_value('theme')
|
kwargs['theme'] = request.preferences.get_value('theme')
|
||||||
|
kwargs['method'] = request.preferences.get_value('method')
|
||||||
kwargs['categories_as_tabs'] = list(settings['categories_as_tabs'].keys())
|
kwargs['categories_as_tabs'] = list(settings['categories_as_tabs'].keys())
|
||||||
kwargs['categories'] = _get_enable_categories(categories.keys())
|
kwargs['categories'] = _get_enable_categories(categories.keys())
|
||||||
kwargs['OTHER_CATEGORY'] = OTHER_CATEGORY
|
kwargs['OTHER_CATEGORY'] = OTHER_CATEGORY
|
||||||
|
Loading…
Reference in New Issue
Block a user