From 21fcc2bd540b682c46c4e8fed2914d1151be7df7 Mon Sep 17 00:00:00 2001 From: Emmi Takkinen Date: Mon, 10 Feb 2020 09:06:04 +0200 Subject: [PATCH 2/4] Bug 23415: Add missing filters Signed-off-by: Kelly McElligott --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 4efe300e05..4f8fef8f8b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -1129,8 +1129,8 @@ [% UNLESS ( patron.borrowernumber ) %][% UNLESS ( borrowers ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %] - var amountlimit = "[% Koha.Preference('noissuescharge') %]"; - var fines = "[% fines %]"; + var amountlimit = "[% Koha.Preference('noissuescharge') | html %]"; + var fines = "[% fines | html %]"; var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines); // On-site checkout diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index a9680c01e6..0bf918e951 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -946,8 +946,8 @@ columns_settings_issues_table = [% TablesSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ) | $raw %] - var amountlimit = "[% Koha.Preference('noissuescharge') %]"; - var fines = "[% fines %]"; + var amountlimit = "[% Koha.Preference('noissuescharge') | html %]"; + var fines = "[% fines | html %]"; var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines); $(document).ready(function() { -- 2.25.1