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

(-)a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm (-2 / +1 lines)
Lines 283-289 sub build_query_compat { Link Here
283
        my @sort_params  = $self->_convert_sort_fields(@$sort_by);
283
        my @sort_params  = $self->_convert_sort_fields(@$sort_by);
284
        my @index_params = $self->_convert_index_fields(@$indexes);
284
        my @index_params = $self->_convert_index_fields(@$indexes);
285
        $limits       = $self->_fix_limit_special_cases($orig_limits);
285
        $limits       = $self->_fix_limit_special_cases($orig_limits);
286
        if ( $params->{suppress} ) { push @$limits, "suppress:false"; }
286
        if ( $params->{suppress} ) { push @$limits, "NOT(suppress:1)"; }
287
        # Merge the indexes in with the search terms and the operands so that
287
        # Merge the indexes in with the search terms and the operands so that
288
        # each search thing is a handy unit.
288
        # each search thing is a handy unit.
289
        unshift @$operators, undef;    # The first one can't have an op
289
        unshift @$operators, undef;    # The first one can't have an op
290
- 

Return to bug 31061