[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.02-162-gf7c87626c7
Git repo owner
gitmaster at git.koha-community.org
Fri Aug 14 23:51:45 CEST 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, 20.05.x has been updated
via f7c87626c7b414472adb06bcc2f5587f816846b8 (commit)
from 6bea771b8048282c61b260699e1b62d8944a7f90 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f7c87626c7b414472adb06bcc2f5587f816846b8
Author: Owen Leonard <oleonard at myacpl.org>
Date: Mon Jul 27 12:26:41 2020 +0000
Bug 26037: openlibrary.org is hit on every Koha requests
This patch moves the inclusion of Open Library JavaScript from
opac-bottom.inc to the three templates where it might be used.
In addition, the Open Library JS has been modified to check for the
existence of the relevant markup on the page before executing a query.
Unrelated: The Open Library label is now hidden when the status returned
is "Not found." Previously this information was displayed.
To test, apply the patch and enable the OpenLibrarySearch system
preference.
- Perform a search in the OPAC which will return results from Open
Library. Some ISBNs: 0140423826, 0395082552, 0679436405.
- On the search result page there should be an Open Library "Read
now" button for each result that can be opened for reading in Open
Library.
- Add these titles to a list and view the list.
- The "Read now" button should appear on the list page.
- View the details for one of these titles.
- The "Read now" button should appear on the page below the holdings.
- Watch the browser's developer tools on these and other pages in the
OPAC. There should be no errors in the console and no 404 errors in
the network tab.
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
(cherry picked from commit 5bad8da970b299588b49ca061555e1633f95a6fe)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
.../bootstrap/en/includes/opac-bottom.inc | 14 ++++--------
.../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 3 +++
.../opac-tmpl/bootstrap/en/modules/opac-results.tt | 7 +++++-
.../opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 4 ++++
koha-tmpl/opac-tmpl/bootstrap/js/openlibrary.js | 25 ++++++++++++----------
5 files changed, 31 insertions(+), 22 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list