[Koha-bugs] [Bug 34527] Enhance the Openlibrary book cover retrieval to use the 024 MARC record and the OLID

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 30 20:35:34 CEST 2023


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

--- Comment #4 from nigel at titley.com ---
Many thanks for the work you've done already.

This certainly seems to be retrieving the cover in the case where there is no
ISBN and there is an OLID, which is what I wanted.

Looking at the code I think you are missing a test in Search.pm around line
1747. I'm not familiar enough with Koha data structures to actually modify the
code but MARC 21 says that you only check subfield 2 if the first indicator
contains the value 7 and I think your code checks subfield 2 regardless of the
state of the first indicator.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list