Bug 27856

Summary: Update mappings.yaml after bug 27316
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: Searching - ElasticsearchAssignee: Fridolin Somers <fridolin.somers>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 - low CC: jonathan.druart, julian.maurice, martin.renvoize
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 27856: Update mappings.yaml after bug 27316
Bug 27856: Update mappings.yaml after bug 27316
Bug 27856: Update mappings.yaml after bug 27316

Description Fridolin Somers 2021-03-04 09:49:07 UTC
Bug 27316 has changed sort to 0/1 in Elasticsearch mappings.
This should be updated in mappings.yaml
Comment 1 Fridolin Somers 2021-03-04 10:10:14 UTC
Created attachment 117667 [details] [review]
Bug 27856: Update mappings.yaml after bug 27316

Bug 27316 has changed sort to 0/1 in Elasticsearch mappings.
This should be updated in mappings.yaml

Test plan:
1) Reset mappings
2) Check sort values 0 and 1 are ok in searchengine config
Comment 2 Fridolin Somers 2021-03-04 10:11:02 UTC
Done with :

sed -i 's/sort: ~/sort: 1/g' admin/searchengine/elasticsearch/mappings.yaml
Comment 3 Julian Maurice 2021-03-31 10:22:04 UTC
Created attachment 119035 [details] [review]
Bug 27856: Update mappings.yaml after bug 27316

Bug 27316 has changed sort to 0/1 in Elasticsearch mappings.
This should be updated in mappings.yaml

Test plan:
1) Reset mappings
2) Check sort values 0 and 1 are ok in searchengine config

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Comment 4 Julian Maurice 2021-03-31 10:23:27 UTC
Trivial patch that should have been part of bug 27316. Signed off
Comment 5 Martin Renvoize (ashimema) 2021-04-27 13:50:55 UTC
Created attachment 120231 [details] [review]
Bug 27856: Update mappings.yaml after bug 27316

Bug 27316 has changed sort to 0/1 in Elasticsearch mappings.
This should be updated in mappings.yaml

Test plan:
1) Reset mappings
2) Check sort values 0 and 1 are ok in searchengine config

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 6 Martin Renvoize (ashimema) 2021-04-27 13:51:18 UTC
Doh, thanks for the fix Fridolin.

Passing QA
Comment 7 Jonathan Druart 2021-04-28 08:59:51 UTC
I'd like an answer on bug 25325 comment 18 before pushing this one.
Comment 8 Jonathan Druart 2021-05-03 13:06:08 UTC

*** This bug has been marked as a duplicate of bug 28279 ***