@@ -, +, @@ IntranetNumbersPreferPhrase - fixes callnum and sn - Removes unecessary syspref transmission to the template. As the template directly reads the syspref IntranetNumbersPreferPhrase to true call number in the field «No results match your search for 'callnum,phr: [...]» «No results match your search for 'callnum,wrdl: [...]» This shows that IntranetNumbersPreferPhrase isn't honored So IntranetNumbersPreferPhrase is honored --- catalogue/search.pl | 3 --- koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc | 5 +++-- 2 files changed, 3 insertions(+), 5 deletions(-) --- a/catalogue/search.pl +++ a/catalogue/search.pl @@ -191,9 +191,6 @@ my $lang = C4::Languages::getlanguage($cgi); if (C4::Context->preference("marcflavour") eq "UNIMARC" ) { $template->param('UNIMARC' => 1); } -if (C4::Context->preference("IntranetNumbersPreferPhrase")) { - $template->param('numbersphr' => 1); -} if($cgi->cookie("holdfor")){ my $holdfor_patron = Koha::Patrons->find( $cgi->cookie("holdfor") ); --- a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc @@ -1,3 +1,4 @@ +[% USE Koha %]