Bugzilla – Attachment 114708 Details for
Bug 27090
In the location column of an OPAC cart the 'In transit from' and 'to' fields are empty
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26051: Elasticsearch field local-classification sort=1 in mapping.yaml
Bug-26051-Elasticsearch-field-local-classification.patch (text/plain), 2.08 KB, created by
Victor Grousset/tuxayo
on 2020-12-27 17:36:45 UTC
(
hide
)
Description:
Bug 26051: Elasticsearch field local-classification sort=1 in mapping.yaml
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2020-12-27 17:36:45 UTC
Size:
2.08 KB
patch
obsolete
>From 584c6dde9f3966257d173d2d2b6c756f9e074037 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 23 Jul 2020 14:51:47 +0200 >Subject: [PATCH] Bug 26051: Elasticsearch field local-classification sort=1 in > mapping.yaml >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >With Elasticsearch the search field use for sorting by callnumber is "local-classification" (from Koha::SearchEngine::Elasticsearch::QueryBuilder::_convert_sort_fields). >So this search field must be sortable in default mappings.yaml. > >If not you see this error in logs : >No mapping found for [local-classification__sort] > >Test plan : >1) Install Koha with Elasticsearch with mappings.yaml from sources (admin/searchengine/elasticsearch/mappings.yaml) > It should be the case on all developement instalations >2) Reset mappings (Administration ΓΆΒΊ Search engine configuration (Elasticsearch)) >3) Rebuild indexes: misc/search_tools/rebuild_elasticsearch.pl -v -d >4) Perform a search >5) Check sorting by callnumber is OK (add some call numbers if > necessary) > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> > >https://bugs.koha-community.org/show_bug.cgi?id=27090 >--- > admin/searchengine/elasticsearch/mappings.yaml | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/admin/searchengine/elasticsearch/mappings.yaml b/admin/searchengine/elasticsearch/mappings.yaml >index 0a1cd86454..b07c287a77 100644 >--- a/admin/searchengine/elasticsearch/mappings.yaml >+++ b/admin/searchengine/elasticsearch/mappings.yaml >@@ -2635,7 +2635,7 @@ biblios: > - facet: '' > marc_field: 952o > marc_type: marc21 >- sort: 0 >+ sort: 1 > suggestible: 1 > - facet: '' > marc_field: 686 >@@ -2645,12 +2645,12 @@ biblios: > - facet: '' > marc_field: 995k > marc_type: unimarc >- sort: 0 >+ sort: 1 > suggestible: 1 > - facet: '' > marc_field: 952o > marc_type: normarc >- sort: 0 >+ sort: 1 > suggestible: 1 > type: '' > local-number: >-- >2.29.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27090
:
113971
|
114708
|
114709
|
114967