From 24af8ce931430327b5168ca6559a80dd3a278d23 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Tue, 5 Jun 2018 12:19:06 +0100 Subject: [PATCH] Bug 20581: (follow-up) Display status name Rather than display the status code for custom statuses, we should be displaying the name Signed-off-by: Niamh.Walker-Headon@it-tallaght.ie --- koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 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 c1217a40a1..f177e3947e 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 @@ -129,7 +129,7 @@ // Render function for request status var createStatus = function(data, type, row, meta) { if (row.status_alias) { - return row.status_alias.authorised_value; + return row.status_alias.lib; } else { var origData = meta.settings.oInit.originalData; if (origData.length > 0) { @@ -447,7 +447,7 @@ [% ELSE %] [% END %] @@ -553,7 +553,7 @@
Status: [% IF request.statusalias %] - [% request.statusalias.authorised_value | html %] + [% request.statusalias.lib | html %] [% ELSE %] [% capabilities.$req_status.name | html%] [% END %] -- 2.11.0