Bug 22042: Block all return actions when BlockReturnOfWithdrawn items is set to block
authorNick Clemens <nick@bywatersolutions.com>
Fri, 8 Apr 2022 18:52:09 +0000 (18:52 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 Jan 2023 15:44:23 +0000 (15:44 +0000)
commite19aa35f3916313bc29215b3fc8fdb2106d82179
treeaf208fa2b82ec626205489e6104a24dbe22a9fef
parent486d78f544f1fe074d4f474206155c4bcb02ea2a
Bug 22042: Block all return actions when BlockReturnOfWithdrawn items is set to block

Currently this syspref only bokcs the literal 'return' from a patron, i.e. the checkin

It still processes transfers, refunds lost items, updates NotForLoan status etc.

We should block all of these things

To test:
1 - Set BlockReturnOfWithdrawn to block
2 - Set an item as lost and withdrawn
3 - Check it in
4 - Item is found
5 - Apply patch
6 - Repeat 1-3
7 - Checkin is blocked, item still lost

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Circulation.pm
t/db_dependent/Circulation.t