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

(-)a/Koha/SearchEngine/Elasticsearch/Indexer.pm (-2 / +1 lines)
Lines 298-304 to Zebra as well. Link Here
298
sub index_records {
298
sub index_records {
299
    my ( $self, $biblionumbers, $op, $server, $records ) = @_;
299
    my ( $self, $biblionumbers, $op, $server, $records ) = @_;
300
    $biblionumbers = [$biblionumbers] if ref $biblionumbers ne 'ARRAY' && defined $biblionumbers;
300
    $biblionumbers = [$biblionumbers] if ref $biblionumbers ne 'ARRAY' && defined $biblionumbers;
301
    $records = [$records] if ref $biblionumbers ne 'ARRAY' && defined $records;
301
    $records = [$records] if ref $records ne 'ARRAY' && defined $records;
302
    if ( $op eq 'specialUpdate' ) {
302
    if ( $op eq 'specialUpdate' ) {
303
        unless ($records) {
303
        unless ($records) {
304
            foreach my $biblionumber ( @$biblionumbers ){
304
            foreach my $biblionumber ( @$biblionumbers ){
305
- 

Return to bug 25265