From 63b90e748b59373005868a58f2a5060130fff51c Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Thu, 7 Jun 2018 11:14:50 +0100 Subject: [PATCH] Bug 20797: (follow-up) Conditionally link We don't want to display the link to the biblio if the biblio_id is null Signed-off-by: Marcel de Rooy --- koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 5 +++-- 1 file changed, 3 insertions(+), 2 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 146402f501..f32c6a508c 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 @@ -118,11 +118,12 @@ // Our 'render' function for biblio_id var createBiblioLink = function(data, type, row) { - return '' + row.biblio_id + - ''; + '' : ''; }; // Our 'render' function for the library name -- 2.11.0