Bug 27963: (bug 23463 follow-up) Fix touch_all_items.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 Mar 2021 10:36:17 +0000 (11:36 +0100)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Sat, 24 Apr 2021 12:32:31 +0000 (12:32 +0000)
commitd373a884bf780282ff359092ccafc78d57844d44
tree6eaf20b078d73afcfad03a6e9729227990b3bd34
parent60bb013164c7c913d4c910942bd7cdea92788e07
Bug 27963: (bug 23463 follow-up) Fix touch_all_items.pl

This script is used to fix inconsistencies in the items table. Prior to
bug 23463, ModItem dealt with that.

We need to make some attributes as dirty to make sure the
Koha::Item->store method will fix them.

Test plan:
Be familiar with how touch_all_items is supposed to work and confirm
that the different inconsistencies are fixed.

Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 8f071b01f5c851a6b066e7084643bd6430e6e8d5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 8244792f264baaa2a81afd90fde3b74755d4e549)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
misc/maintenance/touch_all_items.pl