]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 14 May 2020 21:03:16 +0000 (21:03 +0000)
commit845dc6fc2aa4140f24b2f09cbe468046edfa2551
tree4ab1196e3fb7719c200248e5ce94103f14aa1c45
parent0fec1317e9c3ff028141ac784c03a83850ac8772
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>
(cherry picked from commit a656ccf5376287c9a572e2db4771dae12a4c1afa)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/js/openlibrary.js