]> git.koha-community.org Git - koha.git/commit
Bug 30118: Make holds_block_checkin in SIP behave like in Koha interface.
authorMatthias Meusburger <matthias.meusburger@biblibre.com>
Wed, 17 Mar 2021 13:14:25 +0000 (14:14 +0100)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 25 Apr 2022 18:42:40 +0000 (18:42 +0000)
commit355fd88f5c6388f3d4547c83b66821cddfc9a1de
treefb17b86a4a92afe1f5f309e4388bf915f8c86f0b
parent081539110b70bf7e1348268bef7c1d1d12aa215c
Bug 30118: Make holds_block_checkin in SIP behave like in Koha interface.

In koha interface, a warning is displayed when an item on hold is returned
only if the return is for this specific item.

This patch does the same in SIP: the return is blocked when holds_block_checkin
is enabled and there is a hold on a specific item and this is the very item
being returned.

Test plan:

The following behavior is expected in SIP:

 - An item is returned, and there is a reservation on record-level: block
 - An item is returned, and there is a reservation on this very item: block
 - An item is returned, and there is a reservation on another item: allow

Signed-off-by: Sonia <sonia.bouis@univ-lyon3.fr>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 41abb100c3d3e5cf97473abf06337e49f9b44710)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
C4/SIP/ILS/Transaction/Checkin.pm