[Koha-bugs] [Bug 30792] New: Item cover images don't load in "Other holdings" tab

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 17 16:26:28 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30792

            Bug ID: 30792
           Summary: Item cover images don't load in "Other holdings" tab
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 26145

If you have SeparateHoldings enabled and item-level local cover images on the
items which appear under the "Other holdings" tab, these covers will not load.

Line 1154 of detail.tt:

if( $(coverSlide).find(".cover-image:visible").length < 1 ){

This doesn't consider the possibility of correctly-loaded cover image under a
hidden tab. Removing the ":visible" seems to fix it.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26145
[Bug 26145] Add the ability to attach a cover image at item level
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list