From ebbd103464fada0908821c52a755656c5c7dbf04 Mon Sep 17 00:00:00 2001 From: David Nind Date: Wed, 18 May 2022 02:21:14 +0000 Subject: [PATCH] Bug 30786: Fix capitalization in advanced search system preferences This fixes the capitalization in the descriptions for the AdvancedSearchTypes and OpacAdvancedSearchTypes system preferences. Test plan: 1. In the staff interface, search the system preferences for 'AdvancedSearch'. 2. Review the current descriptions for the AdvancedSearchTypes and OpacAdvancedSearchTypes system preferences. 3. Note that "..Shelving Location.." is used instead of "..Shelving location..". 4. Apply the patch. 5. Refresh the page. 6. Sentence case is now used for "Shelving location" in the descriptions (as per coding guideline HTML4: Upper and lower cases in strings). 7. Sign off. Signed-off-by: David Nind Signed-off-by: Sally Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 17b7ae56c539bfaaf2dae75f6855e9cda13ec904) Signed-off-by: Lucas Gass (cherry picked from commit 9abcf38e45190ec052bd570d8cb449d4d959987e) Signed-off-by: Arthur Suzuki --- .../prog/en/modules/admin/preferences/opac.pref | 7 +++++++ .../prog/en/modules/admin/preferences/searching.pref | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref index e775a40b0d..15cff4f4a6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref @@ -893,6 +893,13 @@ OPAC: subtype: Subtypes sorting: Sorting location: Location and availability + - + - Show tabs in the OPAC advanced search for limiting searches on the + - pref: OpacAdvancedSearchTypes + class: long + - "fields (separate values with |). Tabs appear in the order listed.
" + - "Currently supported values: Item types (itemtypes), Collection, (ccode) and Shelving location (loc)." + Authentication: - - pref: OPACShibOnly diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref index a0d7ec430d..b5515fde82 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref @@ -100,7 +100,7 @@ Searching: - pref: AdvancedSearchTypes class: long - "fields (separate values with |). Tabs appear in the order listed.
" - - "Currently supported values: Item types (itemtypes), Collection Codes (ccode) and Shelving Location (loc)." + - "Currently supported values: Item types (itemtypes), Collection, (ccode) and Shelving location (loc)." - - Limit the languages listed in the advanced search drop-down to the - pref: AdvancedSearchLanguages -- 2.39.5