]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 25 Apr 2022 20:00:22 +0000 (10:00 -1000)
commitd3101bb5dca8d212670e83fcfcece583eab77573
tree63e0b1df23338fc8cd783ac4e7b5dd2a0c1a5ede
parent83da2adc7283408bb0e4a9c57b5f52ff3f4cee34
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