]> 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)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 25 Mar 2022 13:59:24 +0000 (09:59 -0400)
commit21e70d52f59c75b2d409c5ce7a08b66be8d25f32
tree5382be2e193125acbbc7696fd54fccfcc248a0c1
parent68664b7b706945ad0d9176be69dd5fe71a0bd13b
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt
koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js