]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 12 May 2023 14:39:00 +0000 (15:39 +0100)
commit7b53a7fef584eedf3f134c6442a3a7de3bf8f00a
treef82ec6e8bc8d341f7b7b14f2f993252ca39ac89e
parent58607ab5c976de0aacab243c85fbe9418d6533b2
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>
koha-tmpl/opac-tmpl/bootstrap/js/coce.js