]> git.koha-community.org Git - koha.git/commit
Bug 24957: OpenLibrarySearch shouldnt display if nothing is returned
authorLucas Gass <lucas@bywatersolutions.com>
Tue, 21 Apr 2020 20:11:17 +0000 (20:11 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 27 Apr 2020 10:21:59 +0000 (11:21 +0100)
commitec743f54256d219a9d26e6020a28126ef4be61c4
treecb7872337eaf46151d55c55eceb242252105130d
parent6c1a4312c4c6416eeed9220982db69c2ae5cd8f3
Bug 24957: OpenLibrarySearch shouldnt display if nothing is returned

TO TEST:
1. Turn on OpenLibrarySearch
2. Do an OPAC search that returns results that have results with Open Library results and some that do not.
3. Notice results that return nothing simpliy say "Open Library:" with nothing afterwards.
4. Some results return a png from OpenLibrary or "Not found"
5. Apply patch and look at records again.
6. The results that return nothing for OpenLibrary API should now to hidden.

Signed-off-by: Heather Hernandez <heather_hernandez@nps.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/js/openlibrary.js