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

(-)a/Koha/SearchEngine/Elasticsearch.pm (-2 / +1 lines)
Lines 326-332 sub get_fixer_rules { Link Here
326
            # The split makes everything into nested arrays, but that's not
326
            # The split makes everything into nested arrays, but that's not
327
            # really a big deal, ES doesn't mind.
327
            # really a big deal, ES doesn't mind.
328
            $options = '-split => 1' unless $marc_field =~ m|_/| || $type eq 'sum';
328
            $options = '-split => 1' unless $marc_field =~ m|_/| || $type eq 'sum';
329
            push @rules, "marc_map('$marc_field','${name}', $options)";
329
            push @rules, "marc_map('$marc_field','${name}.\$append', $options)";
330
            if ($facet) {
330
            if ($facet) {
331
                push @rules, "marc_map('$marc_field','${name}__facet', $options)";
331
                push @rules, "marc_map('$marc_field','${name}__facet', $options)";
332
            }
332
            }
333
- 

Return to bug 18434