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

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

Return to bug 23676