[Koha-bugs] [Bug 18610] ElasticSearch indexing of facets needs to be updated for newer Catmandu versions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 15 17:17:21 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18610

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 63481
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63481&action=edit
Bug 18610: Make facet indexing append instead of overwrite so it works on newer
Catmandu

This patch makes get_fixer_rules add the $append string to the facets mapping
as we did for
bug 18434.

To test:
- Run:
  $ sudo koha-shell kohadev
 k$ cd kohaclone
 k$ prove t/db_dependent/Koha_Elasticsearch_Indexer.t
t/db_dependent/Koha_Elasticsearch.t
=> FAIL: Tests fail!
- Apply this patch
- Run:
 k$ prove t/db_dependent/Koha_Elasticsearch_Indexer.t
t/db_dependent/Koha_Elasticsearch.t
=> SUCCESS: Tests are all green!
- Sign off :-D

Sponsored-by: ByWater Solutions

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list