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

(-)a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm (+1 lines)
Lines 204-209 sub build_query_compat { Link Here
204
    my @sort_params  = $self->_convert_sort_fields(@$sort_by);
204
    my @sort_params  = $self->_convert_sort_fields(@$sort_by);
205
    my @index_params = $self->_convert_index_fields(@$indexes);
205
    my @index_params = $self->_convert_index_fields(@$indexes);
206
    my $limits       = $self->_fix_limit_special_cases($orig_limits);
206
    my $limits       = $self->_fix_limit_special_cases($orig_limits);
207
    if ( $params->{suppress} ) { push @$limits, "suppress:0"; }
207
208
208
    # Merge the indexes in with the search terms and the operands so that
209
    # Merge the indexes in with the search terms and the operands so that
209
    # each search thing is a handy unit.
210
    # each search thing is a handy unit.
(-)a/admin/searchengine/elasticsearch/mappings.yaml (-1 / +19 lines)
Lines 2248-2253 biblios: Link Here
2248
        sort: ~
2248
        sort: ~
2249
        suggestible: '1'
2249
        suggestible: '1'
2250
    type: string
2250
    type: string
2251
  suppress:
2252
    label: suppress
2253
    mappings:
2254
      - facet: ''
2255
        marc_field: 942n
2256
        marc_type: marc21
2257
        sort: ~
2258
        suggestible: ''
2259
      - facet: ''
2260
        marc_field: 942n
2261
        marc_type: normarc
2262
        sort: ~
2263
        suggestible: ''
2264
      - facet: ''
2265
        marc_field: 955n
2266
        marc_type: unimarc
2267
        sort: ~
2268
        suggestible: ''
2269
    type: boolean
2251
  ta:
2270
  ta:
2252
    label: ta
2271
    label: ta
2253
    mappings:
2272
    mappings:
2254
- 

Return to bug 16660