]> git.koha-community.org Git - koha.git/commit
Bug 21231: BlockReturnofLostItems does not prevent lost items being found
authorKyle M Hall <kyle@bywatersolutiosn.com>
Thu, 16 Aug 2018 11:11:17 +0000 (07:11 -0400)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 30 Aug 2018 13:40:31 +0000 (13:40 +0000)
commitca2430480eaa4338b3e4aed766589b1406565d69
tree1cdd749f9a03cec9c9e78651234b941e9177d741
parent44d7063209137696d0c844ff82880a973029e534
Bug 21231: BlockReturnofLostItems does not prevent lost items being found

When the syspref BlockReturnOfLostItems is set to Block, the item is blocked from being returned, but is still considered found -- it's set to lost=0 and a refund is applied to the patron (if circ rules allow). The item can then be checked in a second time and returned as it is no longer lost.

Test Plan:
1) Set an item to lost
2) Set BlockReturnOfLostItems to Block
3) Check the lost item in
4) Checkin  message should say item is lost and cannot be returned
5) Check lost status of item, it should remain unchanged

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Circulation.pm
C4/Items.pm
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt