From ff6af1442c688fa2a3e577782c9ce9576385d793 Mon Sep 17 00:00:00 2001 From: Emmi Takkinen Date: Mon, 10 Feb 2020 09:06:04 +0200 Subject: [PATCH 2/6] Bug 23415: Add missing filters Signed-off-by: Kelly McElligott Signed-off-by: Petro Vashchuk --- 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 d3cd130311..d10db1256b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -928,8 +928,8 @@ [% UNLESS ( patron.borrowernumber ) %]window.onload=function(){ $('#findborrower').focus(); };[% 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 8a34cae124..65120ed238 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -727,8 +727,8 @@ table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %] table_settings_holds_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'holds-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.34.1