1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-17 18:00:12 +01:00

[fix] PR 1186: GET method

PR https://github.com/searxng/searxng/pull/1186 prevented the GET method from being selected.
This commit is contained in:
Léon Tiekötter 2022-05-10 17:39:00 +02:00
parent 85c1c14fd7
commit 18b8bbc017
No known key found for this signature in database
GPG Key ID: 02869F7817D9EC08

View File

@ -459,6 +459,7 @@ def render(template_name: str, **kwargs):
kwargs['query_in_title'] = request.preferences.get_value('query_in_title')
kwargs['safesearch'] = str(request.preferences.get_value('safesearch'))
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'] = _get_enable_categories(categories.keys())
kwargs['OTHER_CATEGORY'] = OTHER_CATEGORY