]> git.koha-community.org Git - koha.git/commit
Bug 27003: [20.05.x] Item creation log must be done after the item is created
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 2 Dec 2020 08:56:04 +0000 (09:56 +0100)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Thu, 21 Jan 2021 16:24:59 +0000 (16:24 +0000)
commitb7709b69cff5828769e0fdddb001e46e7eb32045
tree8a23363b803633a222235a99317d6a1ba32abdf4
parent6fc8211e039362810fde18473aff16077d020300
Bug 27003: [20.05.x] Item creation log must be done after the item is created

Otherwise we don't have its itemnumber yet!

Test plan:
Add and modify an item and confirm that the action logs are created
correctly

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Applied the patch on a live server showing missing info in the logs.
Created and deleted an item. Verified the logs now have the same
info as in the olden days.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Koha/Item.pm
t/db_dependent/Koha/Items.t