Koha/koha-tmpl/opac-tmpl/bootstrap
Nick Clemens 4b642386d8
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>
2019-09-27 14:00:48 +01:00
..
css Bug 23492: Compiled CSS 2019-09-09 11:23:39 +01:00
en Bug 22744: Changes for opac and remove JS 2019-09-23 11:57:46 +01:00
images Bug 22568: Replace RSS icon in the OPAC with Font Awesome 2019-03-23 09:40:29 +00:00
itemtypeimg
js Bug 22602: Fix OverDrive circulation when coming from another site 2019-09-27 14:00:48 +01:00
lib