diff options
author | mrpaulblack <paul@paulgo.io> | 2022-05-10 22:25:42 +0200 |
---|---|---|
committer | mrpaulblack <paul@paulgo.io> | 2022-05-10 22:25:42 +0200 |
commit | c69c61838bd8b80d641af6557702ce85e40600f0 (patch) | |
tree | ccb0c54c9e4d808e1a54395545ad13d6012c45d1 | |
parent | e869cbed5b385a489a2104024789210690890a12 (diff) | |
download | searxng-c69c61838bd8b80d641af6557702ce85e40600f0.tar.gz searxng-c69c61838bd8b80d641af6557702ce85e40600f0.zip |
[fix] autocomplete and infinite scroll persistence in preferences
* fixes a regression from https://github.com/searxng/searxng/pull/1186
-rwxr-xr-x | searx/webapp.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 2c633fbea..7eca07753 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -454,6 +454,8 @@ def render(template_name: str, **kwargs): # values from the preferences kwargs['preferences'] = request.preferences + kwargs['autocomplete'] = request.preferences.get_value('autocomplete') + kwargs['infinite_scroll'] = request.preferences.get_value('infinite_scroll') kwargs['results_on_new_tab'] = request.preferences.get_value('results_on_new_tab') kwargs['advanced_search'] = request.preferences.get_value('advanced_search') kwargs['query_in_title'] = request.preferences.get_value('query_in_title') |