[Koha-bugs] [Bug 17561] ReserveSlip needs itemnumber for item level holds on same biblio

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 7 01:06:13 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17561

--- Comment #1 from Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> ---
Created attachment 57239
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57239&action=edit
Bug 17561 - ReserveSlip needs itemnumber for item level holds on same biblio

This patch fixes a regression after bug 14695.
This patch adds itemnumber and barcode as optional params in ReserveSlip used
by hold-transfer-slip.pl to generate HOLD_SLIP. This is for ReserveSlip to be
able to generate correct slips when items in multi-item holds are checked in.

Test plan:

1) activate a circulation rule with multi-item holds
2) Place two holds on same biblio for patron
3) for debugging, either use browser console to observe POST request and
responses
   or use info from reserves, e.g. reserve_id in the HOLD_SLIP
4) checkin both items on pickup branch
5) note that both holds are effectuated, but reserve_id is the same on both
slips
6) also note that there is no itemnumber or barcode in the requests from
returns.pl
7) Apply this patch
8) repeat 2-4
9) note that reserve_id is now different on the two slips

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


More information about the Koha-bugs mailing list