]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 19 Jul 2024 15:15:52 +0000 (15:15 +0000)
commit5d40de56b38a3e71a3ca497e0a143ba142cf70bc
tree69b8bc1283f93a8712c362fc2a80b1e622190d0f
parent4108cb43c30c0ddc9ff5c5aae8090148f024d68e
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>
(cherry picked from commit 4183b073e6c5366d5cd576c1a0efabf0489f9de5)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc