From a55e0ac553e608e5657573a8173aa5a040a49054 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sat, 9 Sep 2023 16:49:14 +0200 Subject: [feat] search on category select without JS Co-authored-by: Alexandre Flament --- docs/admin/settings/settings_ui.rst | 4 ++++ docs/dev/search_api.rst | 10 ++++------ 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/admin/settings/settings_ui.rst b/docs/admin/settings/settings_ui.rst index 8f390e58d..0039f6fb2 100644 --- a/docs/admin/settings/settings_ui.rst +++ b/docs/admin/settings/settings_ui.rst @@ -19,6 +19,7 @@ default_theme: simple theme_args: simple_style: auto + search_on_category_select: true .. _static_use_hash: @@ -60,3 +61,6 @@ ``results_on_new_tab``: Open result links in a new tab by default. + +``search_on_category_select``: + Perform search immediately if a category selected. Disable to select multiple categories. diff --git a/docs/dev/search_api.rst b/docs/dev/search_api.rst index 423232090..13858ae9e 100644 --- a/docs/dev/search_api.rst +++ b/docs/dev/search_api.rst @@ -92,16 +92,14 @@ Parameters List of enabled plugins. :default: - ``Hash_plugin``, ``Search_on_category_select``, - ``Self_Information``, ``Tracker_URL_remover``, - ``Ahmia_blacklist`` + ``Hash_plugin``, ``Self_Information``, + ``Tracker_URL_remover``, ``Ahmia_blacklist`` :values: .. enabled by default - ``Hash_plugin``, ``Search_on_category_select``, - ``Self_Information``, ``Tracker_URL_remover``, - ``Ahmia_blacklist``, + ``Hash_plugin``, ``Self_Information``, + ``Tracker_URL_remover``, ``Ahmia_blacklist``, .. disabled by default -- cgit v1.2.3