]> git.koha-community.org Git - koha.git/commit
Bug 29320: Update OverDrive availability to V2
authorNick Clemens <nick@bywatersolutions.com>
Tue, 26 Oct 2021 11:22:04 +0000 (11:22 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 29 Jan 2022 07:52:54 +0000 (21:52 -1000)
commit4413276810f533d4f65da014be073f02ed34d283
tree53af37e0b7ecf790f8152d3de9ff794e74187559
parent11a018aa301fffc7ede93470e015119c1918a232
Bug 29320: Update OverDrive availability to V2

This patch updates the call to overdrive_proxy to allow passing a version
and updates the code to use V2 for availability

To test:
1 - Enable OverDrive integration by setting the sysprefs
2 - Log in to your overdrive account in the Koha opac
3 - Perform a search and note availability display
4 - Confirm you can checkout/hold/return books
5 - Apply patch
6 - Repeat search and test functionality
7 - Note that title with '0 out of 0 copies available' now say 'Currently unavailable'

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt
koha-tmpl/opac-tmpl/bootstrap/js/overdrive.js
opac/svc/overdrive_proxy