From ff2b8a481783feb5351ceb376fa9be8a3280be64 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 --- .../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 3c08fe3ec7..7b3e7b6fe5 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 += '