]> git.koha-community.org Git - koha.git/commit
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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 23 Aug 2022 17:12:15 +0000 (17:12 +0000)
commit63bd50e7214c0fa30bb44ba76c436999c93f6737
treeddaebad8cbb42bcb0646292f41c188b5fb5e9798
parent9456af97bed946d2ca7d13fa26b31847256a9eb5
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>
(cherry picked from commit 7b21fb020b868ebaad97fc8a8970dc9570b76e56)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/SIP/ILS/Transaction/Hold.pm
t/db_dependent/SIP/ILS.t
t/db_dependent/SIP/Transaction.t