]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 4 Dec 2020 15:50:05 +0000 (16:50 +0100)
commitc2f60cc3acf12aa820e034d64ed1fdaba767dc62
tree44dba701d9e1ee2a5d2938293a295eeed0eba96c
parentccfd83fffaaa8abe640cf6e48af4bc5feca3e354
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>
(cherry picked from commit b3b3781ea3745a382cd38e808a2846a6fd933f3c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Item.pm
t/db_dependent/Koha/Items.t