]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 2 Sep 2022 14:50:16 +0000 (14:50 +0000)
commitb8e74a077440c9fd464e5cca9069f032dc30092a
tree91d5b024ad57538264dd713c7b86ee1e57d849f3
parent5775f6c9a97bbfe15c1c496c6b2fdee856734cf1
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>
(cherry picked from commit 16a919d9191dd4221f7f370cfcd36555428ea9fa)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
admin/marc_subfields_structure.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt