From 7d7dd553c71237f3f6715596188fb4b611f78856 Mon Sep 17 00:00:00 2001 From: Emmi Takkinen Date: Mon, 10 Feb 2020 09:06:04 +0200 Subject: [PATCH] Bug 23415: Add missing filters Signed-off-by: Kelly McElligott Signed-off-by: Petro Vashchuk Signed-off-by: Veli-Matti --- 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 d7e00a8e12..8886a2082b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -917,8 +917,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 c5152cbe4c..5c3ade9e0e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -710,8 +710,8 @@ table_settings_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'issues-table', 'json' ) | $raw %] table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-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.30.2