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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Mon, 15 Aug 2022 20:31:46 +0000 (22:31 +0200)
commit82b0ba4139195d5f3e130563c64fe12a7b9c9d15
tree97ffaa1dc770e29621d2b078078abbc703e510fd
parent09476bed3b176a94a42d23e6885e6c2f6d192973
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>
(cherry picked from commit 4541f43789495b0163fd5125620e0b25991ffede)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Koha/Filter/MARC/ExpandCodedFields.pm