[Koha-bugs] [Bug 24957] New: OpenLibrarySearch doesnt return result correctly on OPAC
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 23 19:27:50 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24957
Bug ID: 24957
Summary: OpenLibrarySearch doesnt return result correctly on
OPAC
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: lucas at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
If you turn on OpenLibrarySearch results are often not returned and only the
text "Open Library:" displays.
Firstly, if there is nothing to return we should display nothing.
Secondly, it does look like any of these records do return data but the API has
changed, I think. Koha checks to see if "items: []" has length and returns
false if this is true.
But I am finding many records where the data seems to be present:
(https://openlibrary.org/api/volumes/brief/json/id:0;isbn:067002662X;lccn:__2012035454)
but items contains nothing.
I don't know anything about the OpenLibrary API, but perhaps it has changed.
TO RECREATE:
1. turn on OpenLibrarySearch
2. go to the opac results page and opac details page and see many records that
just display "Open Library: " and nothing else.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list