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

(-)a/admin/searchengine/elasticsearch/mappings.pl (-1 / +3 lines)
Lines 157-163 if ( $op eq 'edit' ) { Link Here
157
            my $search_field = Koha::SearchFields->find({ name => $search_field_name }, { key => 'name' });
157
            my $search_field = Koha::SearchFields->find({ name => $search_field_name }, { key => 'name' });
158
            $mandatory_after++ if $search_field->mandatory && !defined $seen_fields{$search_field_name};
158
            $mandatory_after++ if $search_field->mandatory && !defined $seen_fields{$search_field_name};
159
            $seen_fields{$search_field_name} = 1;
159
            $seen_fields{$search_field_name} = 1;
160
160
            # TODO Check mapping format
161
            # TODO Check mapping format
162
            $mapping_marc_field =~ s/\s//g;
163
161
            my $marc_field = Koha::SearchMarcMaps->find_or_create({
164
            my $marc_field = Koha::SearchMarcMaps->find_or_create({
162
                index_name => $index_name,
165
                index_name => $index_name,
163
                marc_type => $marc_type,
166
                marc_type => $marc_type,
164
- 

Return to bug 30142