From 91d168200e2283fc8f250c5103e4736afa0f520a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 25 Oct 2018 12:56:38 -0300 Subject: [PATCH] Bug 13618: Remove html filter for LAST Signed-off-by: Jonathan Druart Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 4 ++-- .../prog/en/modules/reports/cash_register_stats.tt | 2 +- .../intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt | 4 ++-- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 4 ++-- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 4 ++-- t/lib/QA/TemplateFilters.pm | 1 + 6 files changed, 10 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 7024546f9e..ce5179f888 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -89,7 +89,7 @@ [% s.shelfname | html %] [% SET number_of_private_shelves = number_of_private_shelves + 1 %] - [% IF number_of_private_shelves == 10 %][% LAST | html %][% END %] + [% IF number_of_private_shelves == 10 %][% LAST %][% END %] [% END %] [% END %] [% END %] @@ -102,7 +102,7 @@ [% s.shelfname | html %] [% SET number_of_public_shelves = number_of_public_shelves + 1 %] - [% IF number_of_public_shelves == 10 %][% LAST | html %][% END %] + [% IF number_of_public_shelves == 10 %][% LAST %][% END %] [% END %] [% END %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt index 09371f6dab..018cdee0e4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt @@ -221,7 +221,7 @@ [% value_manualinv = manualinv.authorised_value|truncate(5, '') | html %] [% IF loopresul.accounttype == value_manualinv %] [% manualinv.authorised_value | html %] - [% LAST | html %] + [% LAST %] [% END %] [% END %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index b89db7687e..f1020c4050 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -560,7 +560,7 @@ [% IF shelfnumber != s.shelfnumber %] param1 += "