]> git.koha-community.org Git - koha.git/commit
Bug 21150: Search for item types inconsistencies
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 3 Aug 2018 17:59:33 +0000 (14:59 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 24 Aug 2018 11:57:11 +0000 (12:57 +0100)
commit41b06b411c3ad2a5006980507c344c568357c752
tree56f407dfd5cb48035a7fda271c1fa78945c1293a
parent7ba665179bb35a3ddf940f506e5dfed06f11b346
Bug 21150: Search for item types inconsistencies

search_for_data_inconsistencies.pl will now display errors if:
1.item-level_itypes is set to "specific item" and items.itype is not set
or not set to an item type defined in the system (itemtypes.itemtype)
2.item-level_itypes is set to "biblio record" and biblioitems.itemtype is not set
or not set to an item type defined in the system (itemtypes.itemtype)

Test plan:
Use the script and the different possible combinations to display the
errors

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 6fd1a8c11484e8c1cd771aea0c6ac98a2ab18f40)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
misc/maintenance/search_for_data_inconsistencies.pl