From f8c4808ac5dac869665afebe45b1c8a949912c82 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Fri, 12 Oct 2018 15:07:47 +0100 Subject: [PATCH] Bug 20581: (follow-up) Allow for undefined lib As per: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20581#c59 --- koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 2 +- 1 file changed, 1 insertion(+), 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 78bce5cf7e..abdc9a3976 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 @@ -739,7 +739,7 @@ // Render function for request status var createStatus = function(data, type, row, meta) { if (row.status_alias) { - return row.status_alias.lib; + return row.status_alias.lib ? row.status_alias.lib : 'N/A'; } else { var origData = meta.settings.oInit.originalData; if (origData.length > 0) { -- 2.11.0