]> git.koha-community.org Git - koha.git/commit
Bug 13939: ILS-DI function GetServices doesn't work when the item/biblio is available...
authorJosef Moravec <josef.moravec@gmail.com>
Thu, 2 Apr 2015 04:16:44 +0000 (06:16 +0200)
committerChris Cormack <chris@bigballofwax.co.nz>
Sun, 12 Apr 2015 08:06:42 +0000 (20:06 +1200)
commit05a7b7e457f3b1b380e23987481ca122c3fe964f
treede4396eeecb81bdba4a12b9fbf1597c90adfbef3
parentabfce4ed088f05e60154ed6599709fd0aadb89b3
Bug 13939: ILS-DI function GetServices doesn't work when the item/biblio is available for hold for specific patron

Test plan:
1) Enable ILS DI (system preference 'ILS-DI')
2) Try to access the URL
http://<your_opac_url>/cgi-bin/koha/ilsdi.pl?service=GetServices&patron_id=<borrowernumber>&item_id=<itemnumber>
Choose the patron and item to be available for hold
You'll see an error instead of valid XML response
3) apply the patch
4) try to access the same URL, you should see valid XML response with services "title level hold" and eventually "item level hold" returned

Signed-off-by: Thomas Misilo <misilot@fit.edu>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit bde795f8fa488a2284d1d23667fb489bea6343f9)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
C4/ILSDI/Services.pm