]> git.koha-community.org Git - koha.git/commit
Bug 30584: Fix ES mapping creation
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Apr 2022 17:23:14 +0000 (19:23 +0200)
committerKyle Hall <kyle@bywatersolutions.com>
Tue, 26 Apr 2022 13:31:21 +0000 (09:31 -0400)
commitfe3d57ce9e81260195a3c67f82e72eb2b9670d93
treeb8c68bf82806a207503e582e759f3cd8b017d998
parent9ece85a12fa62114d78c0dfa0336c30f8c86ca25
Bug 30584: Fix ES mapping creation

We need to tell DT that we are adding/removing row, not only deal
manually with the DOM.

This patch also fixes the following bug: if you add or remove a row from
the "biblio" tab, then go to another tab and back to "biblio", all
changes were gone (bug existed prior to bug 29893).

Test plan:
Add, edit and remove mappings, switch from tabs and save.
Use the filters, save (29893 regression test)

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js