summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Braeuning <paul@paulgo.io>2022-05-10 20:24:43 +0200
committerGitHub <noreply@github.com>2022-05-10 20:24:43 +0200
commit2bc836e85d25a3bf50a2004a56100e4b090e79f9 (patch)
tree34f7f259938dd034a6c54842ca1f428fafd6a15c
parent85c1c14fd7e8ff217ff57509cf9d58ec92f7af9a (diff)
parent18b8bbc017d5b77f5f32c64b4beb78434c0a242d (diff)
downloadsearxng-2bc836e85d25a3bf50a2004a56100e4b090e79f9.tar.gz
searxng-2bc836e85d25a3bf50a2004a56100e4b090e79f9.zip
Merge pull request #1191 from tiekoetter/fix-get-method
[fix] PR 1186: GET method
-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