From 99cc129ace1f87e6981978d4acc7d5c3df7f3e38 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 --- 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 da3100f2d5..e11f56cd00 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 @@ -117,11 +117,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