Bug 18434 - Followup - same changes for sort and facet fields
authorNick Clemens <nick@bywatersolutions.com>
Fri, 16 Jun 2017 14:01:12 +0000 (10:01 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 6 Jul 2017 17:29:02 +0000 (14:29 -0300)
commit241be8ff1ae24fff6165c8d6877945637467ee9a
tree1b06ba2008c80f0c534a791265da0b73ace42996
parent3b5529c3abca87afb4f66f5bc7d3aa0fe005c1aa
Bug 18434 - Followup - same changes for sort and facet fields

To test:
1 - Index some stuff with multiple fields defined for sorting
  i.e. Authorites - make heading sortable - default is 110a and 111a for
  heading - a record with 111a empty will make the sort field empty
2 - view the record:
curl http://localhost:9200/koha_kohadev_authorities/data/30?pretty=true
3 - Note the blank field
4 - Apply patch
5 - Reindex
6 - Fields should be correctly populated

Unit tests to follow (once I have the originals working for all)

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/SearchEngine/Elasticsearch.pm