From 563656944aee0ea4ce75b4f965be4bec840a8460 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Mon, 15 Oct 2018 14:17:30 +0100 Subject: [PATCH] Bug 20581: (follow-up) Fix fallback status_alias As per: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20581#c68 --- koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 47291c0d4c..b80c58f2bf 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 @@ -736,7 +736,9 @@ // Render function for request status var createStatus = function(data, type, row, meta) { if (row.status_alias) { - return row.status_alias.lib ? row.status_alias.lib : 'N/A'; + return row.status_alias.lib + ? row.status_alias.lib + : row.status_alias.authorised_value; } else { var origData = meta.settings.oInit.originalData; if (origData.length > 0) { -- 2.11.0