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

(-)a/C4/Search.pm (+1 lines)
Lines 332-337 sub getRecords { Link Here
332
332
333
    my @servers = @$servers_ref;
333
    my @servers = @$servers_ref;
334
    my @sort_by = @$sort_by_ref;
334
    my @sort_by = @$sort_by_ref;
335
    $offset = 0 if $offset < 0;
335
336
336
    # Initialize variables for the ZOOM connection and results object
337
    # Initialize variables for the ZOOM connection and results object
337
    my $zconn;
338
    my $zconn;
(-)a/Koha/SearchEngine/Elasticsearch/Search.pm (-1 / +1 lines)
Lines 149-154 sub search_compat { Link Here
149
    ) = @_;
149
    ) = @_;
150
    my %options;
150
    my %options;
151
    $options{offset} = $offset;
151
    $options{offset} = $offset;
152
    $offset = 0 if $offset < 0;
152
    $options{expanded_facet} = $expanded_facet;
153
    $options{expanded_facet} = $expanded_facet;
153
    my $results = $self->search($query, undef, $results_per_page, %options);
154
    my $results = $self->search($query, undef, $results_per_page, %options);
154
155
155
- 

Return to bug 18854