@@ -, +, @@ configuration - Apply the patch and go to Administration -> Search engine configuration (Elasticsearch) - Test the tables under each tab, "Search fields," "Bibliographic records," and "Authorities," the table has a search filter and the header row "sticks" to the top of the browser window as you scroll down. - The "Search fields" table should be sortable, but the other two should not--they have drag-and-drop row reordering. --- .../admin/searchengine/elasticsearch/mappings.tt | 41 +++++++++++----------- .../prog/js/elasticsearch-mappings.js | 27 +++++++++++++- 2 files changed, 47 insertions(+), 21 deletions(-) --- 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 @@ -108,27 +108,26 @@ a.add, a.delete { [% END %]
Name | Aliases | Label | Type | -Searchable | Weight | +Searchable | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- | Staff interface | -OPAC | -+ | + | Staff interface | +OPAC | |||||||
+ | [% IF search_field.mandatory %] [% ELSE %] @@ -138,14 +137,14 @@ a.add, a.delete { | [% search_field.aliases.join(', ') | html %] | -+ | [% IF search_field.mandatory %] [% ELSE %] [% END %] | -+ | [% IF search_field.mandatory %] | ++ [% IF search_field.mapped_biblios %] + + [% ELSE %] + + [% END %] + | - | - [% IF search_field.mapped_biblios %] - - [% ELSE %] - - [% END %] - |
Search field | @@ -240,7 +239,7 @@ a.add, a.delete {Suggestible | Searchable | Mapping | -+ | + | [% ELSE %] |
---|---|---|---|---|---|