From 61aff9d113a53f99d7191090bd34a2ae49f67fa9 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Thu, 2 Apr 2015 06:16:44 +0200 Subject: [PATCH] [PASSED QA] 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:///cgi-bin/koha/ilsdi.pl?service=GetServices&patron_id=&item_id= 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 Signed-off-by: Kyle M Hall --- C4/ILSDI/Services.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index e7acbad..af06038 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -26,7 +26,7 @@ use C4::Circulation; use C4::Branch; use C4::Accounts; use C4::Biblio; -use C4::Reserves qw(AddReserve GetReservesFromBiblionumber GetReservesFromBorrowernumber CanBookBeReserved CanItemBeReserved); +use C4::Reserves qw(AddReserve GetReservesFromBiblionumber GetReservesFromBorrowernumber CanBookBeReserved CanItemBeReserved IsAvailableForItemLevelRequest); use C4::Context; use C4::AuthoritiesMarc; use XML::Simple; -- 1.7.2.5