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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 3 Nov 2023 15:04:33 +0000 (12:04 -0300)
commitd3112dc3191a82e6cc6072394bd8d6035f66e15c
treeb914f340679e5313c0b88a759e23449c16d874e0
parenta1a70186920ff383f036edd5165782b52eafb6f9
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>
Koha/SimpleMARC.pm