Bug 21466: Keep all AVs for a given framework
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 29 Jan 2020 11:44:57 +0000 (12:44 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 4 Feb 2020 13:30:33 +0000 (13:30 +0000)
commit14d1804652daf9c0b83139c3373f4cdaf46b5863
tree5427b8d7d5519e2159ec995505e1c9f61cc15434
parent87f20fd5fe7f4c67963498f42252bf09bf7a317d
Bug 21466: Keep all AVs for a given framework

There was a major (and silly) issue in the previous version, only one AV
was kept as we erased the hash value at the end of each iteration:
$invalid_locations_per_framework->{$framework->frameworkcode } =
  { items => $items, av_category => $mss->authorised_value, kohafield => $kohafield };

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
misc/maintenance/search_for_data_inconsistencies.pl