]> git.koha-community.org Git - koha.git/commit
Bug 32412: Empty coce container before appending image
authorLucas Gass <lucas@bywatersolutions.com>
Tue, 4 Apr 2023 21:50:39 +0000 (21:50 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 13 Jun 2023 15:56:43 +0000 (15:56 +0000)
commitead1ad7ccc9673f8a868bfc9af931b61ab68dde7
tree2fd9ae93d634151654dcdcf1bf14f26d66d1eb4f
parent42eb62910dc143878c08dcf276737e95d5d3c6b4
Bug 32412: Empty coce container before appending image

To test:
1. Apply patch and clear browser cache
2. Turn on Coce for the OPAC.
3. OPACShelfBrowser must be on
4. Find a record that returns a cover image and open it's detail page.
5. Use the next/previous navigation links in the OPACShelfBrowser
6. Notice that no extra image is being added to the biblio-cover-slider.
7. Make sure that Coce images still load correctly in on the OPAC detail page, OPAC results page, and in the shelf browser.

Signed-off-by: Andrew Auld <andrew.auld@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit fec0bd18ae1e982232bf5b5d7d000c2bc6984589)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 7b53a7fef584eedf3f134c6442a3a7de3bf8f00a)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/js/coce.js