From 35c481ae580b12473c1787934e02d627608ac9b4 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 Signed-off-by: Katrin Fischer --- 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 fe9a7b3..176d515 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.1.4