From ffa0bb14d792e7978eefbd63ead1de066fb5067b Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 29 May 2024 07:26:18 +0000 Subject: [PATCH] Bug 36966: Fix data-link for local cover images This patch fixes the data-link so that the "edit" link at the bottom of the lightbox viewer correctly takes the user to the editor interface for the local cover image --- .../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 7b3e7b6fe5..799fa1ab0e 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, _("Local cover image")); + node += '%s'.format(id, row.biblio_id, id, _("Local cover image")); node += ''; node += '
'; }); -- 2.39.2