https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19482 --- Comment #16 from Alex Arnaud <alex.arnaud@biblibre.com> --- Comment on attachment 72879 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72879 Bug 19482 - Add support for defining 'mandatory' mappings Review of attachment 72879: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=19482&attachment=72879) ----------------------------------------------------------------- ::: Koha/SearchEngine/Elasticsearch.pm @@ +286,5 @@
while ( my ( $field_name, $data ) = each %$fields ) { my $field_type = $data->{type}; my $field_label = $data->{label}; + my $field_mandatory = $data->{mandatory}; + warn $field_mandatory;
Debug thing? ::: koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt @@ +143,3 @@
<td> + [% IF is_readonly %] + <input type="text" name="search_field_type" value="[% search_field.type FILTER ucfirst%]" [% is_readonly %] />
Maybe this readonly input should be sized? This cause the input is larger than the selects and so expand the "Type" column. Or maybe use a <label> as suggested by David -- You are receiving this mail because: You are watching all bug changes.