Bug 19892: (follow-up) Replace one more instance

This patch replaces one more instance of [% IF ( numbersphr ) %].

To test, apply the patch and view the source of the OPAC home page.

With the OPACNumbersPreferPhrase system preference set to 'use,' you
should find this in the HTML source:

<option value="callnum,phr">Call number</option>

With the preference set to 'don't use,' you should find this:

<option value="callnum">Call number</option>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Owen Leonard 2018-03-27 16:46:16 +00:00 committed by Nick Clemens
parent d7da6d1fea
commit d9da812ec4
1 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@
[% ELSE %]
<option value="se">Series</option>
[% END # /ms_se %]
[% IF ( numbersphr ) %]
[% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %]
[% IF ( ms_callnum ) %]
<option selected="selected" value="callnum,phr">Call number</option>
[% ELSE %]
@ -208,7 +208,7 @@
[% ELSE %]
<option value="callnum">Call number</option>
[% END # /ms_callnum %]
[% END # /numbersphr %]
[% END # /IF OPACNumbersPreferPhrase %]
</select>
[% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %]