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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Thu, 11 Aug 2022 13:40:47 +0000 (15:40 +0200)
commit4541f43789495b0163fd5125620e0b25991ffede
tree111e8acf920ac40f0bb9552114f5320be953d133
parent8987b899709e5a8329f0f71b46aae476de83358b
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>
(cherry picked from commit 6c381c4b22d30388f8e24966a6c6e7c78201dba3)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 965e9856196a30520ffaea7cc99f7724f7b123d3)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Koha/Filter/MARC/ExpandCodedFields.pm