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

(-)a/Koha/SearchEngine/Elasticsearch.pm (-1 / +1 lines)
Lines 496-502 sub _process_mappings { Link Here
496
                # Pass each value to current callback which returns a list
496
                # Pass each value to current callback which returns a list
497
                # (scalar is fine too) resulting either in a list or
497
                # (scalar is fine too) resulting either in a list or
498
                # a list of lists that will be flattened by perl.
498
                # a list of lists that will be flattened by perl.
499
                # The next callback will recieve the possibly expanded list of values.
499
                # The next callback will receive the possibly expanded list of values.
500
                $values = [ map { $callback->($_) } @{$values} ];
500
                $values = [ map { $callback->($_) } @{$values} ];
501
            }
501
            }
502
        }
502
        }
(-)a/Koha/SearchEngine/Elasticsearch/Indexer.pm (-2 / +1 lines)
Lines 125-131 sub update_index { Link Here
125
            body => \@body
125
            body => \@body
126
        );
126
        );
127
        if ($response->{errors}) {
127
        if ($response->{errors}) {
128
            carp "One or more ElasticSearch errors occured when indexing documents";
128
            carp "One or more ElasticSearch errors occurred when indexing documents";
129
        }
129
        }
130
    }
130
    }
131
    return $response;
131
    return $response;
132
- 

Return to bug 24807