Bug 30848: Fix issue exposed by unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 13 Jun 2022 13:26:33 +0000 (14:26 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 1 Jul 2022 12:15:46 +0000 (09:15 -0300)
commit6c381c4b22d30388f8e24966a6c6e7c78201dba3
tree3c409e5bb9d199ad4860b431ea90f641f09559b3
parent6b04e3e18f1c534e3d7d91dde458d30e02e13f33
Bug 30848: Fix issue exposed by unit tests

This patch changes the 'map' to a simple for loop so that we can easily
map multiple subfields to a field without overwriting the first previous
subfields in the structure.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Filter/MARC/ExpandCodedFields.pm