From d52c88a233680412fb44dea9f6b5e9c29fe43841 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Wed, 19 Sep 2018 09:34:21 +0100 Subject: [PATCH] Bug 21377: Remove erroneous "html" filter use The "html" filter that is being applied to these variable declarations is inappropriate and has been removed. I've also simplified things by removing two of the extraneous variable declarations. To test: - Before applying the patch, on master, view the "Manage request" page for an ILL request - TEST: Observe that, apart from the "Edit request" button, the various available action buttons do not display correctly - Apply the patch - TEST: Refresh the page and observe that the buttons now display correctly Signed-off-by: Owen Leonard Signed-off-by: Julian Maurice Signed-off-by: Nick Clemens --- .../intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index 6d435255d7..b188945d12 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -480,16 +480,14 @@ [% ELSIF query_type == 'illview' %] - [% actions = request.available_actions | html %] - [% capabilities = request.capabilities | html %] - [% req_status = request.status | html %] + [% req_status = request.status %]

Manage ILL request

Edit request - [% FOREACH action IN actions %] + [% FOREACH action IN request.available_actions %] [% IF action.method != 0 %] @@ -531,7 +529,7 @@
Status: - [% capabilities.$req_status.name | html %] + [% request.capabilities.$req_status.name | html %]
Last updated: -- 2.39.5