]> git.koha-community.org Git - koha.git/commit
Bug 29001: Fix framework edition when subfields are reordered
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 19 Jul 2022 15:00:29 +0000 (17:00 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 21 Jul 2022 18:57:25 +0000 (15:57 -0300)
commit16a919d9191dd4221f7f370cfcd36555428ea9fa
tree8f4e96cf305f4597187c083ad18f0732f6751dd9
parent8b957a69d4449bedd0f593cf946e5fde0e8d7a69
Bug 29001: Fix framework edition when subfields are reordered

There is a flaw when subfields are ordered, the inputs are not retrieved
correctly.
We should not rely on the order but use an id instead.
Test plan:
Create, edit subfields
Modify values from the different subfields
Confirm that values are correctly saved

Signed-off-by: Thibault Kero <thibault.keromnes@univ-paris8.fr>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
admin/marc_subfields_structure.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt