summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorLéon Tiekötter <leon@tiekoetter.com>2022-05-10 17:39:00 +0200
committerLéon Tiekötter <leon@tiekoetter.com>2022-05-10 17:47:53 +0200
commit18b8bbc017d5b77f5f32c64b4beb78434c0a242d (patch)
tree34f7f259938dd034a6c54842ca1f428fafd6a15c /searx/webapp.py
parent85c1c14fd7e8ff217ff57509cf9d58ec92f7af9a (diff)
downloadsearxng-18b8bbc017d5b77f5f32c64b4beb78434c0a242d.tar.gz
searxng-18b8bbc017d5b77f5f32c64b4beb78434c0a242d.zip
[fix] PR 1186: GET method
PR https://github.com/searxng/searxng/pull/1186 prevented the GET method from being selected.
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-xsearx/webapp.py1
1 files changed, 1 insertions, 0 deletions
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