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

(-)a/Koha/SearchEngine/Elasticsearch/Search.pm (-1 / +1 lines)
Lines 196-202 sub search_compat { Link Here
196
    # consumers of this expect a name-spaced result, we provide the default
196
    # consumers of this expect a name-spaced result, we provide the default
197
    # configuration.
197
    # configuration.
198
    my %result;
198
    my %result;
199
    $result{biblioserver}{hits}    = $all_results->{hits};
199
    $result{biblioserver}{hits}    = $results->{hits};
200
    $result{biblioserver}{RECORDS} = \@records;
200
    $result{biblioserver}{RECORDS} = \@records;
201
    return (undef, \%result, $self->_convert_facets($results->{facets}, $expanded_facet));
201
    return (undef, \%result, $self->_convert_facets($results->{facets}, $expanded_facet));
202
}
202
}
(-)a/opac/opac-browse.pl (-2 / +1 lines)
Lines 79-85 elsif ( $api eq 'GetResults' ) { Link Here
79
    my $term  = $query->param('term');
79
    my $term  = $query->param('term');
80
    my $field = $query->param('field');
80
    my $field = $query->param('field');
81
81
82
    my $builder  = Koha::SearchEngine::Elasticsearch::QueryBuilder->new();
82
    my $builder  = Koha::SearchEngine::Elasticsearch::QueryBuilder->new( { index => 'biblios' } );
83
    my $searcher = Koha::SearchEngine::Elasticsearch::Search->new(
83
    my $searcher = Koha::SearchEngine::Elasticsearch::Search->new(
84
        { index => $Koha::ElasticSearch::BIBLIOS_INDEX } );
84
        { index => $Koha::ElasticSearch::BIBLIOS_INDEX } );
85
85
86
- 

Return to bug 14567