From aea77a61da806d1e221a2db7c525479d8c3f3409 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 Signed-off-by: Katrin Fischer Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- 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 3187447aea..837290eac7 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 @@ -206,7 +206,7 @@ [% ELSE %] [% END %] @@ -353,7 +353,7 @@
  • Status: [% IF request.statusalias %] - [% request.statusalias.authorised_value | html %] + [% request.statusalias.lib | html %] [% ELSE %] [% request.capabilities.$req_status.name | html%] [% END %] @@ -747,7 +747,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) { -- 2.39.5