summaryrefslogtreecommitdiff
path: root/searx/preferences.py
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2023-09-09 16:49:14 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-09-18 21:29:11 +0200
commita55e0ac553e608e5657573a8173aa5a040a49054 (patch)
treed3d7dbdd8648e1f5007756628c2bc7cbfb19d774 /searx/preferences.py
parent90b0bfd1bf30ecd6b6e8b54d300be5fba45aecca (diff)
downloadsearxng-a55e0ac553e608e5657573a8173aa5a040a49054.tar.gz
searxng-a55e0ac553e608e5657573a8173aa5a040a49054.zip
[feat] search on category select without JS
Co-authored-by: Alexandre Flament <alex@al-f.net>
Diffstat (limited to 'searx/preferences.py')
-rw-r--r--searx/preferences.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/preferences.py b/searx/preferences.py
index 0c59effc4..20d3eb2cb 100644
--- a/searx/preferences.py
+++ b/searx/preferences.py
@@ -461,6 +461,10 @@ class Preferences:
settings['ui']['infinite_scroll'],
locked=is_locked('infinite_scroll')
),
+ 'search_on_category_select': BooleanSetting(
+ settings['ui']['search_on_category_select'],
+ locked=is_locked('search_on_category_select')
+ ),
# fmt: on
}