@@ -, +, @@ to schema --- Koha/Schema/Result/SearchField.pm | 4 ++++ .../prog/en/modules/admin/searchengine/elasticsearch/mappings.tt | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) --- a/Koha/Schema/Result/SearchField.pm +++ a/Koha/Schema/Result/SearchField.pm @@ -152,6 +152,10 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-02 12:47:22 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EbUa4eprgxeUkoOUiXO/Cg +__PACKAGE__->add_columns( + '+mandatory' => { is_boolean => 1 }, +); + __PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); 1; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt @@ -190,12 +190,11 @@ a.add, a.delete { [% END %] - + - + -<<<<<<< HEAD [% IF is_readonly %] [% IF mapping.search_field_mandatory %] - Delete + Delete [% ELSE %] Delete [% END %] --