[Koha-bugs] [Bug 28137] Lost items checked in through inventory do not follow "refund on return" policy in circ rules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 14 16:27:43 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28137

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
My bet is that it's because of the following lines in inventory.pl:

219                 # Modify date last seen for scanned items, remove lost
status
220                 $item->set({ itemlost => 0, datelastseen => $date
})->store;

We should not remove the lost status before the AddReturn call.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list