Bugzilla – Attachment 37432 Details for
Bug 13939
ILS-DI function GetServices doesn't work when the item/biblio is available for hold for specific patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Sign off of patch
0001-Bug-13939-ILS-DI-function-GetServices-doesn-t-work-w.patch (text/plain), 1.44 KB, created by
Tom Misilo
on 2015-04-02 10:46:47 UTC
(
hide
)
Description:
Sign off of patch
Filename:
MIME Type:
Creator:
Tom Misilo
Created:
2015-04-02 10:46:47 UTC
Size:
1.44 KB
patch
obsolete
>From fa39aa17badbb9c47c34a331fae9eb7ff88235e7 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Thu, 2 Apr 2015 06:16:44 +0200 >Subject: [PATCH] [SIGNED-OFF] 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> >--- > C4/ILSDI/Services.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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; >-- >2.3.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13939
:
37426
|
37432
|
37462