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

(-)a/Koha/SearchEngine/Elasticsearch.pm (+1 lines)
Lines 274-279 sub raw_elasticsearch_mappings { Link Here
274
274
275
            $mappings->{ $marc_map->index_name }{ $search_field->name }{label} = $search_field->label;
275
            $mappings->{ $marc_map->index_name }{ $search_field->name }{label} = $search_field->label;
276
            $mappings->{ $marc_map->index_name }{ $search_field->name }{type} = $search_field->type;
276
            $mappings->{ $marc_map->index_name }{ $search_field->name }{type} = $search_field->type;
277
            $mappings->{ $marc_map->index_name }{ $search_field->name }{mandatory} = $search_field->mandatory;
277
            $mappings->{ $marc_map->index_name }{ $search_field->name }{facet_order} = $search_field->facet_order if defined $search_field->facet_order;
278
            $mappings->{ $marc_map->index_name }{ $search_field->name }{facet_order} = $search_field->facet_order if defined $search_field->facet_order;
278
            $mappings->{ $marc_map->index_name }{ $search_field->name }{weight} = $search_field->weight if defined $search_field->weight;
279
            $mappings->{ $marc_map->index_name }{ $search_field->name }{weight} = $search_field->weight if defined $search_field->weight;
279
            $mappings->{ $marc_map->index_name }{ $search_field->name }{opac} = $search_field->opac if defined $search_field->opac;
280
            $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 201-206 a.add, a.delete { Link Here
201
                            <select name="search_field_type" disabled>
201
                            <select name="search_field_type" disabled>
202
                        [% ELSE %]
202
                        [% ELSE %]
203
                            <select name="search_field_type">
203
                            <select name="search_field_type">
204
                        [% END %]
204
                              <option value=""></option>
205
                              <option value=""></option>
205
                              [% IF search_field.type == "string" %]
206
                              [% IF search_field.type == "string" %]
206
                                <option value="string" selected="selected">String</option>
207
                                <option value="string" selected="selected">String</option>
Lines 243-249 a.add, a.delete { Link Here
243
                                <option value="stdno">Std. Number</option>
244
                                <option value="stdno">Std. Number</option>
244
                              [% END %]
245
                              [% END %]
245
                            </select>
246
                            </select>
246
                        [% END %]
247
                      </td>
247
                      </td>
248
                      <td>
248
                      <td>
249
                        <select name="search_field_staff_client">
249
                        <select name="search_field_staff_client">
250
- 

Return to bug 19482