From 18b8bbc017d5b77f5f32c64b4beb78434c0a242d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Tiek=C3=B6tter?= Date: Tue, 10 May 2022 17:39:00 +0200 Subject: [PATCH] [fix] PR 1186: GET method PR https://github.com/searxng/searxng/pull/1186 prevented the GET method from being selected. --- searx/webapp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/searx/webapp.py b/searx/webapp.py index 940496483..2c633fbea 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -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