Bug 30392: Set deleted_on when an item is (marked as) deleted
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 25 Jul 2022 08:07:48 +0000 (10:07 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 1 Aug 2022 17:34:05 +0000 (14:34 -0300)
commit36d1f18bd57796c0200ca0de0495a6720d2bbfcc
treebd0f77b370a575c99917a48e9e0526cb2be7da1e
parent959fe662ed9f236061eac41b57698acae5d0827d
Bug 30392: Set deleted_on when an item is (marked as) deleted

We could like to track down when an item has been moved to the
deleteditems table.

Test plan:
Created a new item, delete it
Not that the deleteditems.deleted_on value is set correctly

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Item.pm
t/db_dependent/Koha/Item.t