diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-title.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-title.inc index 66ebc8527a..694f569f57 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-title.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-title.inc @@ -1,3 +1,4 @@ +[%- USE To -%] [%- IF link && ! biblio %][% link = 0 %][% END %] [%- IF ( link ) -%] @@ -8,23 +9,23 @@ [%- ELSIF !biblio.title -%] No title [%- ELSE -%] - [% biblio.title | html %] + [% biblio.title | html | $To %] [%- END -%] [%- IF ( biblio.medium ) -%] - [%- biblio.medium | html -%] + [%- biblio.medium | html | $To -%] [%- END -%] [%- FOREACH subtitle IN biblio.subtitle.split(' \\| ') -%][%- IF Koha.Preference('marcflavour')=='UNIMARC' -%],[%- END -%] - [%- subtitle | html -%] + [%- subtitle | html | $To -%] [%- END -%] [%- part_numbers = biblio.part_number.split(' \\| ') -%] [%- part_names = biblio.part_name.split(' \\| ') -%] [%- i = 0 -%] [%- WHILE ( part_numbers.$i.defined || part_names.$i.defined ) -%] [%- IF ( part_numbers.$i.defined ) -%] - [%- part_numbers.$i | html -%] + [%- part_numbers.$i | html | $To -%] [%- END -%] [%- IF ( part_names.$i.defined ) -%] - [%- part_names.$i | html -%] + [%- part_names.$i | html | $To -%] [%- END -%] [%- i = i + 1 -%] [%- END -%] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc index 08ca9f76d0..6da8095af9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc @@ -13,20 +13,20 @@ "[% FILTER escape_quotes ~%] [% INCLUDE 'biblio-title.inc' | trim | collapse %][% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author | html %] [%~ END %]", - "[% (biblioitem.publicationyear || biblio.copyrightdate) | html %]", + "[% (biblioitem.publicationyear || biblio.copyrightdate) | html | $To %]", "[% biblioitem.publishercode | html | $To %]", - "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]", + "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html | $To %]", "[% FILTER escape_quotes ~%] - [% item.barcode | html %] + [% item.barcode | html | $To %] [%~ END %]", "[% item.itemnumber | html %]", - "[% item.enumchron | html %]", - "[% item.itemcallnumber | html %]", + "[% item.enumchron | html | $To %]", + "[% item.itemcallnumber | html | $To %]", "[% Branches.GetName(item.homebranch) | html %]", "[% Branches.GetName(item.holdingbranch) | html %]", "[% AuthorisedValues.GetDescriptionByKohaField( frameworkcode => biblio.frameworkcode, kohafield => 'items.location', authorised_value => item.location) | html %]", "[% ItemTypes.GetDescription(item.itype) | html %]", - "[% item.stocknumber | html %]", + "[% item.stocknumber | html | $To %]", "[% AuthorisedValues.GetDescriptionByKohaField( frameworkcode => biblio.frameworkcode, kohafield => 'items.notforloan', authorised_value => item.notforloan) | html %]", "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) || "" | html %]", "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) || "" | html %]",