]> git.koha-community.org Git - koha.git/commit
Bug 27003: 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 4 Dec 2020 14:26:52 +0000 (15:26 +0100)
commitb3b3781ea3745a382cd38e808a2846a6fd933f3c
treeea864c397468c30e2e22bcb598e7687d2d850eb3
parent08c34b33e4f9bf8f4f515ca769ed923999d3991f
Bug 27003: 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: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Item.pm
t/db_dependent/Koha/Items.t