diff options
author | Léon Tiekötter <leon@tiekoetter.com> | 2022-05-10 17:39:00 +0200 |
---|---|---|
committer | Léon Tiekötter <leon@tiekoetter.com> | 2022-05-10 17:47:53 +0200 |
commit | 18b8bbc017d5b77f5f32c64b4beb78434c0a242d (patch) | |
tree | 34f7f259938dd034a6c54842ca1f428fafd6a15c /searx/webapp.py | |
parent | 85c1c14fd7e8ff217ff57509cf9d58ec92f7af9a (diff) | |
download | searxng-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-x | searx/webapp.py | 1 |
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 |