Bug 24436: Add handling for reserve transfer triggers
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 17 Jan 2020 10:47:49 +0000 (10:47 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 20 Mar 2020 15:59:45 +0000 (15:59 +0000)
commit9364ceba0c78aadf289887f93faf3d4260a47cd8
tree82691a1ef8854e09ee544bfbcdf5ed0700cd6ea7
parent46da9fceccc35086bf2b7c53edba787ed418f33e
Bug 24436: Add handling for reserve transfer triggers

To test:
1 - Place a hold for pickup at a different branch than you are signed in at on an item owned by current branch
2 - Check in the item
3 - Confirm the transfer
4 - Check the branchtransfers table and note the reason is 'Reserve'
5 - Set the preference CanMarkHoldsToPullAsLost to allow
6 - Place a hold on an item at branch you are singed in at
7 - Ensure you are not using strict sql modes (bug 22431)
8 - Go to Circulation->Holds to pull
9 - Mark hold as lost
10 - Check branchtransfers and confirm reason is "LostReserve"
11 - Check in item from step 1 at the correct branch
12 - Go to Circulation->Holds awaiting pickup
13 - Cancel the reserve
14 - Check branchtransfers and confirm reason is "CancelReserve"

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Reserves.pm
circ/pendingreserves.pl
circ/waitingreserves.pl