Bug 23463: update permanent_location if location has been updated
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 8 Aug 2019 02:13:18 +0000 (21:13 -0500)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 23 Mar 2020 09:26:32 +0000 (09:26 +0000)
commitfce29fb77d61ff7c006874b22ae7a00adb80cf34
tree1ec28a84e1b1e54fba10b258140c5282eb419ca9
parentbef6c36156a3e732c294d096169eb58682912e6b
Bug 23463: update permanent_location if location has been updated

This change to Koha::Item->store seems correct here, but tests from /db_dependent/Items.t is failing now.

Adjusting them to make them pass.

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
t/db_dependent/Items.t