Bug 24480: Fix insert_fields_ordered instead of append_fields in SimpleMARC
authorArthur Suzuki <arthur.suzuki@biblibre.com>
Fri, 17 Jan 2020 09:26:58 +0000 (10:26 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 10 Nov 2023 01:58:08 +0000 (15:58 -1000)
commite0098e72a84a6c5128c0e653f2882e3767849e58
treeffa7960d91880a1bb32ccf817e9ecbaf70f1f799
parent9e959ee26a9e53ab46196b04677f5e34ba06b4d0
Bug 24480: Fix insert_fields_ordered instead of append_fields in SimpleMARC

Test plan :
 - create a marc modification template which add a new field to a record
 - apply that template to some records
 - verify that the new field is always appended at the bottom of the record, even if some fields are higher.
 - apply patch
 - apply template to another set of records
 - verify the added field is now ordered within the already existing fields in the records

Signed-off-by: Kelly <kelly@bywatersolutions.com>
Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit d3112dc3191a82e6cc6072394bd8d6035f66e15c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/SimpleMARC.pm