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

(-)a/Koha/SearchEngine/Elasticsearch.pm (+1 lines)
Lines 276-281 sub raw_elasticsearch_mappings { Link Here
276
276
277
            $mappings->{ $marc_map->index_name }{ $search_field->name }{label} = $search_field->label;
277
            $mappings->{ $marc_map->index_name }{ $search_field->name }{label} = $search_field->label;
278
            $mappings->{ $marc_map->index_name }{ $search_field->name }{type} = $search_field->type;
278
            $mappings->{ $marc_map->index_name }{ $search_field->name }{type} = $search_field->type;
279
            $mappings->{ $marc_map->index_name }{ $search_field->name }{mandatory} = $search_field->mandatory;
279
            $mappings->{ $marc_map->index_name }{ $search_field->name }{facet_order} = $search_field->facet_order if defined $search_field->facet_order;
280
            $mappings->{ $marc_map->index_name }{ $search_field->name }{facet_order} = $search_field->facet_order if defined $search_field->facet_order;
280
            $mappings->{ $marc_map->index_name }{ $search_field->name }{weight} = $search_field->weight if defined $search_field->weight;
281
            $mappings->{ $marc_map->index_name }{ $search_field->name }{weight} = $search_field->weight if defined $search_field->weight;
281
            $mappings->{ $marc_map->index_name }{ $search_field->name }{opac} = $search_field->opac if defined $search_field->opac;
282
            $mappings->{ $marc_map->index_name }{ $search_field->name }{opac} = $search_field->opac if defined $search_field->opac;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt (-2 / +1 lines)
Lines 200-205 a.add, a.delete { Link Here
200
                            <select name="search_field_type" disabled>
200
                            <select name="search_field_type" disabled>
201
                        [% ELSE %]
201
                        [% ELSE %]
202
                            <select name="search_field_type">
202
                            <select name="search_field_type">
203
                        [% END %]
203
                              <option value=""></option>
204
                              <option value=""></option>
204
                              [% IF search_field.type == "string" %]
205
                              [% IF search_field.type == "string" %]
205
                                <option value="string" selected="selected">String</option>
206
                                <option value="string" selected="selected">String</option>
Lines 237-243 a.add, a.delete { Link Here
237
                                <option value="stdno">Std. Number</option>
238
                                <option value="stdno">Std. Number</option>
238
                              [% END %]
239
                              [% END %]
239
                            </select>
240
                            </select>
240
                        [% END %]
241
                      </td>
241
                      </td>
242
                      <td>
242
                      <td>
243
                        <select name="search_field_staff_client">
243
                        <select name="search_field_staff_client">
244
- 

Return to bug 19482