Bug 23463: Fix cn_source for new item
commit62852241430b9444acd600498fc51912f36a90e7
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 6 Feb 2020 14:06:07 +0000 (6 15:06 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 23 Mar 2020 09:26:34 +0000 (23 09:26 +0000)
tree5369e39b04165c1491ee1cfe8e5cc6d18464739f
parenta494bb1b49d0ec91b0f4a7edb44f7db6a435205f
Bug 23463: Fix cn_source for new item

get_dirty_columns only work for existing items.

This fixes t/db_dependent/ShelfBrowser.t

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Item.pm