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 <oleonard@myacpl.org>

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 8d9de60582)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
This commit is contained in:
Fridolin Somers 2022-08-10 10:55:55 -10:00 committed by Jacob O'Mara
parent 139661a91c
commit f823436bfe
1 changed files with 6 additions and 0 deletions

View File

@ -196,6 +196,12 @@
<input type="hidden" name="weight_search" value="1" />
[% END %]
[% END %]
[% IF Koha.Preference('IncludeSeeFromInSearches') %]
<p class="hint">
<i class="fa fa-info-circle" aria-hidden="true"></i>
See from (non-preferred form) headings are included
</p>
[% END %]
</fieldset>
<!-- /BOOLEAN SEARCH OPTIONS -->
</div> <!-- /#advanced-search -->