Bug 29723: (QA follow-up) Switch to using ID's on column settings
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 10 Aug 2022 10:27:18 +0000 (11:27 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 16 Aug 2022 13:12:27 +0000 (10:12 -0300)
commitc8c8ef9d2edaeb77d2b92042ad397458cb85c917
tree805057191e481d1bbb1e7c5d4ceb585dc2262a64
parentebf1ad39f855e4625d1217fb1e6a4ddb390a7a34
Bug 29723: (QA follow-up) Switch to using ID's on column settings

This patch updates the column settings page to use ID's instead of
Indexes to restor the open accordian card after a setting change.

Test plan
1 Go to Administration -> Table settings.
2 All panels should be collapsed.
3 Test expanding and collapsing panels to confirm it's working
  correctly.
4 Make a change to one of the table configurations. After clicking
  "Save" the page should reload with the same panel expanded.

Signed-off-by: Andrew <andrewfh@dubcolib.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
admin/columns_settings.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt