From bc805af38c20c303ed12d7107097c10a8a0c0cab Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 30 May 2024 04:16:56 +0000 Subject: [PATCH] Bug 36966: Actually fix data-link for local cover images --- .../en/includes/html_helpers/tables/items/catalogue_detail.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc index 799fa1ab0e..7c221abbb7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc @@ -327,7 +327,7 @@ row.cover_image_ids.forEach(id => { node += '
'; node += ''.format(id, _("Local cover image")); - node += '%s'.format(id, row.biblio_id, id, _("Local cover image")); + node += '%s'.format(id, row.item_id, id, _("Local cover image")); node += ''; node += '
'; }); -- 2.39.2