From f688c463fd4cee3c6a894d583437b198060265e4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 6 Mar 2019 11:59:58 -0300 Subject: [PATCH] Bug 22466: Replace existing occurrences Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi Signed-off-by: Nick Clemens (cherry picked from commit 9ff997eda7582dbb68d599ab1436b162dd1559da) Signed-off-by: Martin Renvoize --- .../prog/en/modules/reserve/request.tt | 16 ++++++++-------- .../prog/en/modules/serials/serials-search.tt | 2 +- .../bootstrap/en/modules/opac-reserve.tt | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 03823eefbe..29de60b6f5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -543,7 +543,7 @@ [% SET branchcodes = [] %] [% FOREACH h IN biblioloo.reserveloop %] - [% branchcodes.push( h.branchcode ) | $raw %] + [% branchcodes.push( h.branchcode ) %] [% END %] [% branchcodes = branchcodes.unique %] @@ -551,7 +551,7 @@ [% SET holds_by_branch = [] %] [% FOREACH h IN biblioloo.reserveloop %] [% IF h.branchcode == b %] - [% holds_by_branch.push( h ) | $raw %] + [% holds_by_branch.push( h ) %] [% END %] [% END %]
@@ -564,7 +564,7 @@ [% FOREACH h IN biblioloo.reserveloop %] [% SET hold_itemtype = h.object.item.effective_itemtype || h.itemtype %] - [% itemtypes.push( hold_itemtype ) | $raw %] + [% itemtypes.push( hold_itemtype ) %] [% END %] [% itemtypes = itemtypes.unique %] @@ -573,7 +573,7 @@ [% FOREACH h IN biblioloo.reserveloop %] [% SET hold_itemtype = h.object.item.effective_itemtype || h.itemtype %] [% IF hold_itemtype == i %] - [% holds_by_itemtype.push( h ) | $raw %] + [% holds_by_itemtype.push( h ) %] [% END %] [% END %] @@ -590,7 +590,7 @@ [% SET branchcodes = [] %] [% FOREACH h IN biblioloo.reserveloop %] - [% branchcodes.push( h.branchcode ) | $raw %] + [% branchcodes.push( h.branchcode ) %] [% END %] [% branchcodes = branchcodes.unique %] @@ -600,14 +600,14 @@ [% SET holds_by_branch = [] %] [% FOREACH h IN biblioloo.reserveloop %] [% IF h.branchcode == b %] - [% holds_by_branch.push( h ) | $raw %] + [% holds_by_branch.push( h ) %] [% END %] [% END %] [% SET itemtypes = [] %] [% FOREACH h IN holds_by_branch %] [% SET hold_itemtype = h.object.item.effective_itemtype || h.itemtype %] - [% itemtypes.push( hold_itemtype ) | $raw %] + [% itemtypes.push( hold_itemtype ) %] [% END %] [% itemtypes = itemtypes.unique %] @@ -623,7 +623,7 @@ [% FOREACH h IN holds_by_branch %] [% SET hold_itemtype = h.object.item.effective_itemtype || h.itemtype %] [% IF hold_itemtype == i %] - [% holds_by_itemtype.push( h ) | $raw %] + [% holds_by_itemtype.push( h ) %] [% END %] [% END %] [% INCLUDE holds_table.inc holds=holds_by_itemtype %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt index 40958b0b24..fcd6ebaabb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt @@ -21,7 +21,7 @@ [% url_params = [] %] [% FOREACH param IN CGI.params.pairs %] [% escaped_value = BLOCK %][% param.value | uri %][% END %] - [% url_params.push(param.key _ '=' _ escaped_value) | html %] + [% url_params.push(param.key _ '=' _ escaped_value) %] [% END %] [% SET referrer = '/cgi-bin/koha/serials/serials-search.pl?' %] [% referrer = BLOCK %][% referrer | url %][% url_params.join("&") |uri %][% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt index 7206c8e348..75d206f231 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -279,7 +279,7 @@ [% IF Koha.Preference('AllowHoldItemTypeSelection') %] [% itemtypes = [] %] [% FOREACH item IN bibitemloo.itemLoop %] - [% itemtypes.push( item.itype ) | html %] + [% itemtypes.push( item.itype ) %] [%- END %]
  • -- 2.39.5