From 381a2551ab0c8901b260139ab264aae8e7dd8141 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 4776a24610..ef5259b162 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