Bugzilla – Attachment 37426 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]
Bug 13939: ILS-DI function GetServices doesn't work when the item/biblio is available for hold for specific patron
Bug-13939-ILS-DI-function-GetServices-doesnt-work-.patch (text/plain), 1.39 KB, created by
Josef Moravec
on 2015-04-02 04:25:45 UTC
(
hide
)
Description:
Bug 13939: ILS-DI function GetServices doesn't work when the item/biblio is available for hold for specific patron
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2015-04-02 04:25:45 UTC
Size:
1.39 KB
patch
obsolete
>From 2ef30f26be44c4d3ac72ab1af0cdc98c57d9f7b6 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] 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 >--- > 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; >-- >1.7.10.4
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