]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 21 Feb 2022 15:13:35 +0000 (15:13 +0000)
commit7b43ac2544758918179c079fb34d42e5d27da199
treeaf961cd895c99b2cd1157eab31ebfcbdada2a75c
parent554d6ff354435037b189e1e4c2c614166fa99ffd
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 3eb290c949547d3fd55c6cc4c248fa457d3ba3a7)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt
koha-tmpl/opac-tmpl/bootstrap/js/overdrive.js
opac/svc/overdrive_proxy