Bug 23964: ReservesNeedReturn should only apply to available items
authorNick Clemens <nick@bywatersolutions.com>
Mon, 4 Nov 2019 16:06:15 +0000 (16:06 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 21 Nov 2019 11:26:53 +0000 (11:26 +0000)
commite083287048f8672f3a32372b88e13d53fb3a8c97
tree0489a0b0b69f3fb3ec06d0a7ba0ef847a4ecb421
parent838b8cb2f4bdbaaeba1e6958cbeddc0672b776e8
Bug 23964: ReservesNeedReturn should only apply to available items

To test:
 1 - Checkout an item to a patron
 2 - Make sure 'ReservesNeedReturn' is set to 'Automatically'
 3 - Place an item level hold on the checked out item
 4 - Note the hold is marked waiting
 5 - Delete the hold
 6 - Apply patch
 7 - Place a new hold
 8 - Hold is not marked waiting
 9 - Please a hold on a different item
10 - Note it is marked waiting
11 - Test when item is damaged and hold not allowed on damaged items
12 - Test when item is in transit
13 - Test when item has another hold
14 - Only in the case where none of the above are true should the hold be marked waiting

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Reserves.pm