]> git.koha-community.org Git - koha.git/commit
Bug 22042: [22.05.x] Block all return actions when BlockReturnOfWithdrawn items is...
authorNick Clemens <nick@bywatersolutions.com>
Fri, 8 Apr 2022 18:52:09 +0000 (18:52 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 25 Jan 2023 15:55:35 +0000 (15:55 +0000)
commit321d8f7ce677bf4feb6b3946ad652d6921ca6bea
treecbb5ef9216b1a6844ddd8246f70ececdacf3808d
parent97827dc93a9916429d155ccada8edfb0d0527eb8
Bug 22042: [22.05.x] 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: Lucas Gass <lucas@bywatersolutions.com>
C4/Circulation.pm
t/db_dependent/Circulation.t