[Koha-bugs] [Bug 31207] New: The OPAC Shelf browser fails to display local cover images
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 21 05:22:17 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31207
Bug ID: 31207
Summary: The OPAC Shelf browser fails to display local cover
images
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: a.roussos at dataly.gr
QA Contact: testopia at bugs.koha-community.org
In the OPAC Details page for a biblio, opening the Shelf browser
will display adjacent items next to each other based on their call
number and also display any cover images found. It's a very useful
OPAC feature that allows librarians to have a "virtual" look at
their library shelves.
This is currently broken *when local covers are exclusively in use*,
as it fails to fetch the related local cover images from the DB.
Steps to reproduce:
TL;DR: Just visit the sandbox URL below and see for yourself ;-)
https://opac-shlfbrwsr.sandboxes.biblibre.eu/cgi-bin/koha/opac-detail.pl?biblionumber=344&shelfbrowse_itemnumber=1348#holdings
Go to Home > Administration > System preferences in the Staff interface:
- in section 'OPAC -> Shelf browser', make sure OPACShelfBrowser
is enabled (i.e. set to 'Show')
- in section 'Enhanced content -> Local or remote cover images',
make sure both LocalCoverImages and OPACLocalCoverImages
are enabled (i.e. set to 'Display')
- make sure no other cover image provider is enabled
- make sure OpacSeparateHoldings and OpacSeparateHoldingsBranch
are set to 'Don't separate' and 'home library', respectively
Next, in the Staff interface, find a record without any local cover
images (either at the biblio or at the item level), having at
least one item attached to it that has a Call number (the call
number value can be anything -- it's only needed to trigger the
display of the 'Browse shelf' hyperlink). Use the 'Images' tab
in the Details page of the record to upload a local cover image
at the biblio level (do *not* upload any item-level cover image).
Finally, in the OPAC, visit the Details page of the record you
just added the cover image to, and click on the 'Browse shelf'
link found in the 'Call number' column. When the Shelf browser
expands, you'll notice that there is no cover image displayed
for the item(s) that belong to your test biblio.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list