Bug 29094: Adding hold via SIP should check if patron can hold item first
authorKyle Hall <kyle@bywatersolutions.com>
Thu, 23 Sep 2021 12:57:30 +0000 (08:57 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 18 Jul 2022 13:24:58 +0000 (10:24 -0300)
commit7b21fb020b868ebaad97fc8a8970dc9570b76e56
treeb52777a08c6b874d46c0bfcc9c43dd6ef4bd2020
parent7bfcb8288b9eca65ee2b3e36501242dad3331102
Bug 29094: Adding hold via SIP should check if patron can hold item first

When placing holds via SIP2, there is no holdability check. This seems very incorrect.

Test Plan:
1) Apply this patch
2) prove -r t/db_dependent/SIP

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/SIP/ILS/Transaction/Hold.pm
t/db_dependent/SIP/ILS.t
t/db_dependent/SIP/Transaction.t