]> git.koha-community.org Git - koha.git/commit
Bug 29893: Prevent ES mappings UI to remove hidden rows
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 17 Jan 2022 14:45:06 +0000 (15:45 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 25 Mar 2022 00:22:09 +0000 (14:22 -1000)
commit0fa0f486c5bf830cd6e41f8f9da8c6dcb2892b63
treecc046469994797df020d83bdb034b1697d975da9
parent0b71d861eb5e00006a48772789a8031c0fcd3425
Bug 29893: Prevent ES mappings UI to remove hidden rows

If you are editing ES mappings and you use the DataTable filtering option,
the table won't contain all the mappings you have in the DB.
If the form is submitted they will be removed and data will be lost!

Test plan:
Edit ES mappings, filter and submit the form.
Confirm that the table are redrawn before the form submission which
prevent data loss

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt
koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js