From 77077613928ec658c4b1ab572a2b860a8880f79e Mon Sep 17 00:00:00 2001 From: David Nind Date: Mon, 25 Mar 2024 00:43:04 +0000 Subject: [PATCH] Bug 27859: (follow-up) Update system preference descriptions Format and edit the descriptions for the new EnableElasticsearchSearchResultExport and ElasticsearchSearchResultExportCustomFormats system preferences. Signed-off-by: David Nind --- .../modules/admin/preferences/searching.pref | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref index ec669df85a..75f952b4c4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref @@ -144,36 +144,36 @@ Searching: default: yes choices: 1: Enable - 0: Disable - - Enable exporting search results. Records exceeding the ISO2709 record size will be send at separate MARC XML attachment regardless of chosen export format (Elasticsearch only). + 0: "Don't enable" + - exporting search results (Elasticsearch only). + - "

NOTE: Records exceeding the ISO2709 record size will show as separate MARC XML downloads regardless of the selected export format.

" - - pref: ElasticsearchSearchResultExportCustomFormats type: textarea syntax: text/x-yaml class: code -

Define custom export formats as a YAML list of associative arrays (Elasticsearch only).

- -

Formats are defined using three properties, a required "name" and "fields" and an optional "multiple".

- - '

name: the human readable name of the format exposed in the staff interface.

' - - '

fields: a list of Elasticsearch fields to be included in the export.' - - If fields has a single field the export result will contain one value per row, for multiple fields a CSV-file will be produced.

- - '

multiple: ignore|join|newline

' - -

The behavior when handling fields with multiple values.

- - '

ignore: the default option, only the first value is included, the rest ignored.

' - - '

join: multiple values are concatenated using \"|\" as a separator.

' - - '

newline: a newline is inserted after each value. This option does not allow \"fields\" to contain multiple fields.

' + -

The custom export formats are defined using three properties:

+ - '' + -

The behavior when handling fields with multiple values:

+ - '' - 'Example:
' - '- name: Biblionumbers
' - '  fields: [local-number]
' - '  multiple: ignore
' - '- name: Title and author
' - '  fields: [title, author]
' - - '  multiple: join

' + - '  multiple: join' - '

See also: EnableElasticsearchSearchResultExport

' - - Limit export from search results to a maximum of - pref: ElasticsearchSearchResultExportLimit class: integer - - search result items (Elasticsearch only).

+ - search result items (Elasticsearch only). - '

See also: EnableElasticsearchSearchResultExport

' Results display: - -- 2.30.2