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

(-)a/Koha/SearchEngine/Elasticsearch.pm (-1 / +1 lines)
Lines 488-494 sub _process_mappings { Link Here
488
                # Pass each value to current callback which returns a list
488
                # Pass each value to current callback which returns a list
489
                # (scalar is fine too) resulting either in a list or
489
                # (scalar is fine too) resulting either in a list or
490
                # a list of lists that will be flattened by perl.
490
                # a list of lists that will be flattened by perl.
491
                # The next callback will recieve the possibly expanded list of values.
491
                # The next callback will receive the possibly expanded list of values.
492
                $values = [ map { $callback->($_) } @{$values} ];
492
                $values = [ map { $callback->($_) } @{$values} ];
493
            }
493
            }
494
        }
494
        }
(-)a/Koha/SearchEngine/Elasticsearch/Indexer.pm (-2 / +1 lines)
Lines 118-124 sub update_index { Link Here
118
            body => \@body
118
            body => \@body
119
        );
119
        );
120
        if ($response->{errors}) {
120
        if ($response->{errors}) {
121
            carp "One or more ElasticSearch errors occured when indexing documents";
121
            carp "One or more ElasticSearch errors occurred when indexing documents";
122
        }
122
        }
123
    }
123
    }
124
    return $response;
124
    return $response;
125
- 

Return to bug 24807