]> git.koha-community.org Git - koha.git/commit
Bug 22806: CanBookBeReserved and CanItemBeReserved must check AllowHoldsOnPatronsPoss...
authorArthur Suzuki <arthur.suzuki@biblibre.com>
Tue, 14 May 2019 00:30:26 +0000 (02:30 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 2 Nov 2020 10:03:08 +0000 (11:03 +0100)
commit3fd7d5974a0952ea4cf677ca83c18db46e637b5a
tree6a54539db7f630a556dd1ae413345db064746cfa
parent0ee41b53168c3a5275533a731160b643909cd110
Bug 22806: CanBookBeReserved and CanItemBeReserved must check AllowHoldsOnPatronsPossessions

Test plan :
1 - set AllowHoldsOnPatronsPossessions to "Don't Allow"
2 - Checkout an item to a borrower
3 - Try to reserve an item using ILS-DI WebService -> Will work without complaining.
4 - Cancel the hold and apply patch
5 - Repeat 3 -> Should not place hold and show error "NotHoldable"

Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Reserves.pm