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

(-)a/Koha/SearchEngine/Elasticsearch.pm (-1 / +1 lines)
Lines 492-498 sub _process_mappings { Link Here
492
                # Pass each value to current callback which returns a list
492
                # Pass each value to current callback which returns a list
493
                # (scalar is fine too) resulting either in a list or
493
                # (scalar is fine too) resulting either in a list or
494
                # a list of lists that will be flattened by perl.
494
                # a list of lists that will be flattened by perl.
495
                # The next callback will recieve the possibly expanded list of values.
495
                # The next callback will receive the possibly expanded list of values.
496
                $values = [ map { $callback->($_) } @{$values} ];
496
                $values = [ map { $callback->($_) } @{$values} ];
497
            }
497
            }
498
        }
498
        }
(-)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