]> git.koha-community.org Git - koha.git/commit
Bug 20388: Elasticsearch - Ability to add search fields from UI
authorAlex Arnaud <alex.arnaud@biblibre.com>
Wed, 7 Apr 2021 13:20:53 +0000 (13:20 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 16 Apr 2024 15:59:45 +0000 (17:59 +0200)
commit0607e6adfa2dec9e92312303bfa1f11273eda39d
tree287ba9754dd577aa11fba5f49dbad564e11f24ec
parent0e4677d3ef7f532e588fc016bc51b7bdb8a8e3f3
Bug 20388: Elasticsearch - Ability to add search fields from UI

Test plan:

  - apply this patch,
  - check that SearchEngine system preference is set to Elasticsearch,
  - go to Admin > Search engine configuration,
  - on the search fields tab, fill a new line at the bottom of the table
    (name, label, type)
  - click on the "Add" button and save,
  - check that the new search field has been saved,
  - also test field deletions,
  - check that you can't delete already mapped fields.

Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Björn Nylén <bjorn.nylen@ub.lu.se>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: David Schmidt <davewood@gmx.at>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/SearchField.pm
admin/searchengine/elasticsearch/mappings.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt
koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js
t/db_dependent/Koha/SearchField.t