]> git.koha-community.org Git - koha.git/commit
Bug 22474: Clone field config before adding fields to it
authorEre Maijala <ere.maijala@helsinki.fi>
Thu, 7 Mar 2019 14:35:30 +0000 (16:35 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 16 Apr 2019 13:17:32 +0000 (13:17 +0000)
commit118f685dbf1519077ece65a47f83bff179efbf9b
treeab9bee0f6a7da9f9425ded163334403500827dca
parent1a2572915b4bf4a11b3a65c3a65e506610263a03
Bug 22474: Clone field config before adding fields to it

Test plain:

1. Reindex both authorities and biblios with the -d flag to recreate the index, e.g. "perl misc/search_tools/rebuild_elastic_search.pl -v -d"
2. Check that authorities only contains authority-specific fields in Elasticsearch e.g. by fetching  http://localhost:9200/koha_dev_authorities/_mappings
3. Reindex both without the -d flag and verify it works, e.g. "perl misc/search_tools/rebuild_elastic_search.pl -v"

Signed-off-by: Björn Nylén <bjorn.nylen@ub.lu.se>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Installer/PerlDependencies.pm
Koha/SearchEngine/Elasticsearch.pm