]> 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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 8 Apr 2015 18:16:14 +0000 (15:16 -0300)
commitbde795f8fa488a2284d1d23667fb489bea6343f9
tree4095fc5ca5e5abe6912af519f65245bb86244387
parent3e136b4f9fc58ebdb10fdb7b465467cffd032169
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>
C4/ILSDI/Services.pm