View | Details | Raw Unified | Return to bug 30879
Collapse All | Expand All

(-)a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm (+1 lines)
Lines 694-699 sub _convert_sort_fields { Link Here
694
        relevance   => undef,       # default
694
        relevance   => undef,       # default
695
        title       => 'title',
695
        title       => 'title',
696
        pubdate     => 'date-of-publication',
696
        pubdate     => 'date-of-publication',
697
        biblionumber => 'local-number',
697
    );
698
    );
698
    my %sort_order_convert =
699
    my %sort_order_convert =
699
      ( qw( desc desc ), qw( dsc desc ), qw( asc asc ), qw( az asc ), qw( za desc ) );
700
      ( qw( desc desc ), qw( dsc desc ), qw( asc asc ), qw( az asc ), qw( za desc ) );
(-)a/admin/searchengine/elasticsearch/mappings.yaml (-7 / +6 lines)
Lines 768-781 authorities: Link Here
768
      - facet: ''
768
      - facet: ''
769
        marc_field: 001
769
        marc_field: 001
770
        marc_type: marc21
770
        marc_type: marc21
771
        sort: ~
771
        sort: 1
772
        suggestible: ''
772
        suggestible: ''
773
      - facet: ''
773
      - facet: ''
774
        marc_field: 001
774
        marc_field: 001
775
        marc_type: unimarc
775
        marc_type: unimarc
776
        sort: ~
776
        sort: 1
777
        suggestible: ''
777
        suggestible: ''
778
    type: string
778
    type: number
779
  personal-name:
779
  personal-name:
780
    label: personal-name
780
    label: personal-name
781
    mappings:
781
    mappings:
Lines 2158-2171 biblios: Link Here
2158
      - facet: ''
2158
      - facet: ''
2159
        marc_field: 999c
2159
        marc_field: 999c
2160
        marc_type: marc21
2160
        marc_type: marc21
2161
        sort: 0
2161
        sort: 1
2162
        suggestible: ''
2162
        suggestible: ''
2163
      - facet: ''
2163
      - facet: ''
2164
        marc_field: 001
2164
        marc_field: 001
2165
        marc_type: unimarc
2165
        marc_type: unimarc
2166
        sort: 0
2166
        sort: 1
2167
        suggestible: ''
2167
        suggestible: ''
2168
    type: string
2168
    type: number
2169
  location:
2169
  location:
2170
    facet_order: 3
2170
    facet_order: 3
2171
    label: location
2171
    label: location
2172
- 

Return to bug 30879