mirror of https://github.com/searxng/searxng.git
Merge pull request #1192 from mrpaulblack/fix-preferences-pers
[fix] autocomplete and infinite scroll persistence in preferences
This commit is contained in:
commit
c90abf3592
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue