Bug 30879: Allow biblionumber as sort option in Elasticsearch
Repeat previous tests with Elasticsearch engine You will need to reindex and reset mappings to pickup the changes form the file Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
230bae0b02
commit
c8c51867c4
2 changed files with 7 additions and 6 deletions
|
@ -700,6 +700,7 @@ sub _convert_sort_fields {
|
|||
relevance => undef, # default
|
||||
title => 'title',
|
||||
pubdate => 'date-of-publication',
|
||||
biblionumber => 'local-number',
|
||||
);
|
||||
my %sort_order_convert =
|
||||
( qw( desc desc ), qw( dsc desc ), qw( asc asc ), qw( az asc ), qw( za desc ) );
|
||||
|
|
|
@ -768,14 +768,14 @@ authorities:
|
|||
- facet: ''
|
||||
marc_field: 001
|
||||
marc_type: marc21
|
||||
sort: ~
|
||||
sort: 1
|
||||
suggestible: ''
|
||||
- facet: ''
|
||||
marc_field: 001
|
||||
marc_type: unimarc
|
||||
sort: ~
|
||||
sort: 1
|
||||
suggestible: ''
|
||||
type: string
|
||||
type: number
|
||||
personal-name:
|
||||
label: personal-name
|
||||
mappings:
|
||||
|
@ -2158,14 +2158,14 @@ biblios:
|
|||
- facet: ''
|
||||
marc_field: 999c
|
||||
marc_type: marc21
|
||||
sort: 0
|
||||
sort: 1
|
||||
suggestible: ''
|
||||
- facet: ''
|
||||
marc_field: 001
|
||||
marc_type: unimarc
|
||||
sort: 0
|
||||
sort: 1
|
||||
suggestible: ''
|
||||
type: string
|
||||
type: number
|
||||
location:
|
||||
facet_order: 3
|
||||
label: location
|
||||
|
|
Loading…
Reference in a new issue