[% IF ( expanded_options ) %]
<option value="ti,phr"> Title phrase</option>
<option value="se,wrdl">Series title</option>
- [% IF ( numbersphr) %]
+ [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %]
<option value="callnum,phr">Call number</option>
[% ELSE %]
<option value="callnum">Call number</option>
<option value="pb,wrdl">Publisher</option>
<option value="pl,wrdl">Publisher location</option>
[% IF ( expanded_options ) %]
- [% IF ( numbersphr) %]
+ [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %]
<option value="sn,phr">Standard number</option>
[% ELSE %]
<option value="sn">Standard number</option>
$template->param('GoogleIndicTransliteration' => 1);
}
-if (C4::Context->preference('OPACNumbersPreferPhrase')) {
- $template->param('numbersphr' => 1);
-}
-
output_html_with_http_headers $input, $cookie, $template->output;
}
}
- if (C4::Context->preference('OPACNumbersPreferPhrase')) {
- $template->param('numbersphr' => 1);
- }
output_html_with_http_headers $cgi, $cookie, $template->output;
exit;