]> git.koha-community.org Git - koha.git/commit
Bug 22602: Fix OverDrive circulation when coming from another site
authorNick Clemens <nick@bywatersolutions.com>
Fri, 6 Sep 2019 11:13:27 +0000 (11:13 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 8 Oct 2019 07:00:51 +0000 (09:00 +0200)
commitacf3eb5217d32753b8f59f626d976707d0d6a90a
tree14eeeedb5eafce891a5448d8440510dfbf1a99d9
parent8e6313eaf7cd9b91ecfb8ed3c56c18fa9d488561
Bug 22602: Fix OverDrive circulation when coming from another site

On bug 21078 we caught an error and returned, this makes us skip some variable setting that we need.

This patch moves that code into its own function.

To test:
0 - Have OverDrive circulation setup and working
1 - Place a link to your kohadev installation on another site
2 - Follow that link to the opac
3 - Note all items show as 'Place hold' even if available copies
4 - Apply patch
5 - Repeat 1&2
6 - Note the items availability shows correctly

Signed-off-by: Elizabeth Quinn <EQuinn@chplnj.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 4b642386d8983a12c1a79924ae1fac180b10c3d0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/js/overdrive.js