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

(-)a/admin/searchengine/elasticsearch/mappings.pl (-1 / +1 lines)
Lines 151-157 if ( $op eq 'edit' ) { Link Here
151
            my $mapping_facet       = $mapping_facet[$i];
151
            my $mapping_facet       = $mapping_facet[$i];
152
            $mapping_facet = ( grep { $_ eq $search_field_name } @facetable_field_names ) ? $mapping_facet : 0;
152
            $mapping_facet = ( grep { $_ eq $search_field_name } @facetable_field_names ) ? $mapping_facet : 0;
153
            my $mapping_suggestible = $mapping_suggestible[$i];
153
            my $mapping_suggestible = $mapping_suggestible[$i];
154
            my $mapping_sort        = $mapping_sort[$i] eq 'undef' ? undef : $mapping_sort[$i];
154
            my $mapping_sort        = $mapping_sort[$i];
155
            my $mapping_search      = $mapping_search[$i];
155
            my $mapping_search      = $mapping_search[$i];
156
156
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' });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt (-4 / +2 lines)
Lines 383-391 a.add, a.delete { Link Here
383
                                    </td>
383
                                    </td>
384
                                    <td>
384
                                    <td>
385
                                        <select data-id="mapping_sort">
385
                                        <select data-id="mapping_sort">
386
                                        <option value="undef">Undef</option>
386
                                        <option value="0">No</option>
387
                                        <option value="0">0</option>
387
                                        <option value="1">Yes</option>
388
                                        <option value="1">1</option>
389
                                        </select>
388
                                        </select>
390
                                    </td>
389
                                    </td>
391
                                    <td>
390
                                    <td>
392
- 

Return to bug 34740