]> git.koha-community.org Git - koha.git/commit
Bug 36966: Fix local cover image links for items
authorDavid Cook <dcook@prosentient.com.au>
Mon, 27 May 2024 03:33:06 +0000 (03:33 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 27 Jun 2024 09:50:07 +0000 (11:50 +0200)
commit4183b073e6c5366d5cd576c1a0efabf0489f9de5
tree97acdd07043be01f0992a19b1feb37d07bbab800
parent909a72c58f07fbb7f8eb8d858641779239903bdc
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 <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc