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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 5 Sep 2018 09:37:50 +0000 (10:37 +0100)
commit3af501884e136454bca1c5a78c1a6b56e876f6be
tree3b4a2771dc8df52403c5390fa094e133ef18e29f
parent1bb7e7c0167be0feffc86b574620c5fc65120993
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>
(cherry picked from commit ca2430480eaa4338b3e4aed766589b1406565d69)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Circulation.pm
C4/Items.pm
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt