forked from Ponysearch/Ponysearch
Merge pull request #1192 from mrpaulblack/fix-preferences-pers
[fix] autocomplete and infinite scroll persistence in preferences
This commit is contained in:
commit
c90abf3592
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue