[Koha-bugs] [Bug 8868] ILS-DI: CancelHold needs to take a reserve_id

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 20 15:43:13 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8868

--- Comment #5 from Paul Poulain <paul.poulain at biblibre.com> ---
Created attachment 16527
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16527&action=edit
Bug 8868: ILS-DI: CancelHold needs to take a reserve_id

CancelHold takes two parameters: patron_id and item_id.
If item_id is considered as an itemnumber, holds on title can't be
canceled.
If item_id is considered as a biblionumber, all holds on this
biblionumber (for a borrower) will be canceled.

So CancelHold have to consider item_id as a reserve_id.

Added subroutines C4::Reserves::GetReserve and
C4::Reserves::CancelReserveFromId
C4::ILSDI::Services::GetRecords now returns the reserve_id

Signed-off-by: Leila and Sonia <koha.aixmarseille at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list