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>
This commit is contained in:
Fridolin Somers 2022-08-10 10:55:55 -10:00 committed by Tomas Cohen Arazi
parent 622581e5bf
commit 8d9de60582
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

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 -->