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

(-)a/Koha/SearchEngine/Elasticsearch.pm (-2 / +1 lines)
Lines 780-786 which is terribly slow. Link Here
780
sub _get_marc_mapping_rules {
780
sub _get_marc_mapping_rules {
781
    my ($self) = @_;
781
    my ($self) = @_;
782
    my $marcflavour = lc C4::Context->preference('marcflavour');
782
    my $marcflavour = lc C4::Context->preference('marcflavour');
783
    my $field_spec_regexp = qr/^([0-9]{3})([()0-9a-z]+)?(?:_\/(\d+(?:-\d+)?))?$/;
783
    my $field_spec_regexp = qr/^([0-9]{3})([()0-9a-zA-Z]+)?(?:_\/(\d+(?:-\d+)?))?$/;
784
    my $leader_regexp = qr/^leader(?:_\/(\d+(?:-\d+)?))?$/;
784
    my $leader_regexp = qr/^leader(?:_\/(\d+(?:-\d+)?))?$/;
785
    my $rules = {
785
    my $rules = {
786
        'leader' => [],
786
        'leader' => [],
787
- 

Return to bug 23671