]> git.koha-community.org Git - koha.git/commit
Bug 36394: Fix footers behaviour on the ES mapping page
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Mar 2024 13:16:23 +0000 (14:16 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 23 May 2024 09:16:56 +0000 (11:16 +0200)
commit04e83721111ffde8969ac91f895fd20c1cce5f7b
tree774b17ddff14b16d53eae63073ec87f3657553f6
parent768701bf1d07cb02f14c75091aa83573bab4959c
Bug 36394: Fix footers behaviour on the ES mapping page

In the footers of the tables of the search fields and mappings,
the options selected are not consistent.
Additionally they are not reset correctly when a new line is added.

Test plan:
0. Do not apply to recreate the problem
1. Go to the ES mapping page
2. Click tab "Bibliographic records"
3. At the bottom, notice the Yes/No dropdown lists
=> They are inconsistent, sometimes 'Yes', sometimes 'No'
4. Click Add
=> Values are kept

5. Apply this patch
6. Repeat 1, 2, 3
=> No (first option) is always selected
7. Click Add after you modified some values
=> "No" is selected

Sponsored-by: The Research University in the Helmholtz Association (KIT)
Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit d12ae6b9e26be680be8789f7f2e10aab92680697)
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