From 8d9de60582a6de64160026b99256187d7f04ea1e Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 10 Aug 2022 10:55:55 -1000 Subject: [PATCH] Bug 31338: Show in advanced search when IncludeSeeFromInSearches is used Test plan : 1) Apply patch 2) Set system preference IncludeSeeFromInSearches to "Include" 3) Go to staff interface advanced search 4) Check you see tip text in "Search for" 5) Set system preference IncludeSeeFromInSearches to "Don't include" 6) Go to staff interface advanced search 7) Check you don't see tip text in "Search for" Signed-off-by: Owen Leonard Signed-off-by: Lucas Gass Signed-off-by: Barbara Johnson Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt index bc5160f7ee..459149295b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt @@ -196,6 +196,12 @@ [% END %] [% END %] + [% IF Koha.Preference('IncludeSeeFromInSearches') %] +

+ + See from (non-preferred form) headings are included +

+ [% END %] -- 2.39.5