From 4183b073e6c5366d5cd576c1a0efabf0489f9de5 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 27 May 2024 03:33:06 +0000 Subject: [PATCH] Bug 36966: Fix local cover image links for items This change fixes the local cover image links for items by removing unnecessary parameters, an invalid link, and an uninitialised Template::Toolkit variable. Test plan: 0. Apply patch 1. Enable syspref 'LocalCoverImages' 3. Go to http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=29 4. Click on the dropdown next to "Edit" at the item level 5. Upload an image for the item 6. Note that the local cover image appears in the holdings table 7. Click on the image and note that it loads in the light box 8. Success! Signed-off-by: David Nind Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer --- .../includes/html_helpers/tables/items/catalogue_detail.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 a285f56ba2..147e7957a4 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 @@ -326,8 +326,8 @@ node += '