]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 21 Sep 2018 14:36:36 +0000 (16:36 +0200)
commite28ef43417a0b72887e975ee2f1f92e9a3476bee
tree89cc7aa14b57c8c11adf6cb47da802dc47b11d2b
parent026a7672c7f73f1ae6630e5c10db79a31d0e8190
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>
(cherry picked from commit 3af501884e136454bca1c5a78c1a6b56e876f6be)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Circulation.pm
C4/Items.pm
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt