Bugzilla – Attachment 163762 Details for
Bug 27859
MARC export for search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27859: (follow-up) Update system preference descriptions
Bug-27859-follow-up-Update-system-preference-descr.patch (text/plain), 4.90 KB, created by
David Nind
on 2024-03-25 00:52:20 UTC
(
hide
)
Description:
Bug 27859: (follow-up) Update system preference descriptions
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-03-25 00:52:20 UTC
Size:
4.90 KB
patch
obsolete
>From 77077613928ec658c4b1ab572a2b860a8880f79e Mon Sep 17 00:00:00 2001 >From: David Nind <david@davidnind.com> >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 <david@davidnind.com> >--- > .../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). >+ - "<p><strong>NOTE:</strong> Records exceeding the ISO2709 record size will show as separate MARC XML downloads regardless of the selected export format.</p>" > - > - pref: ElasticsearchSearchResultExportCustomFormats > type: textarea > syntax: text/x-yaml > class: code > - <p>Define custom export formats as a YAML list of associative arrays (Elasticsearch only).</p> >- - <p>Formats are defined using three properties, a required "<strong>name</strong>" and "<strong>fields</strong>" and an optional "<strong>multiple</strong>".</p> >- - '<p><strong>name</strong>: the human readable name of the format exposed in the staff interface.</p>' >- - '<p><strong>fields</strong>: a list of Elasticsearch fields to be included in the export.' >- - If <strong>fields</strong> has a single field the export result will contain one value per row, for multiple fields a CSV-file will be produced.</p> >- - '<p><strong>multiple</strong>: <i>ignore</i>|<i>join</i>|<i>newline</i></p>' >- - <p>The behavior when handling fields with multiple values.</p> >- - '<p><i>ignore</i>: the default option, only the first value is included, the rest ignored.</p>' >- - '<p><i>join</i>: multiple values are concatenated using \"|\" as a separator.</p>' >- - '<p><i>newline</i>: a newline is inserted after each value. This option does not allow \"<strong>fields</strong>\" to contain multiple fields.</p>' >+ - <p>The custom export formats are defined using three properties:</p> >+ - '<ul><li><strong>name</strong> (required): the human readable name of the format displayed in the staff interface.</li>' >+ - '<li><strong>fields</strong> (required): a list of Elasticsearch fields to include in the export (if <strong>fields</strong> has a single field, the export result will contain one value per row; for multiple fields, a CSV file is produced).</li>' >+ - '<li><strong>multiple</strong> (optional): ignore, join, or newline.</li></ul>' >+ - <p>The behavior when handling fields with multiple values:</p> >+ - '<ul><li>ignore: the default option, only the first value is includedi and the rest are ignored.</li>' >+ - '<li>join: multiple values are concatenated using | as a separator.</li>' >+ - '<li>newline: a new line is inserted after each value (this option does not allow "<strong>fields</strong>" to contain multiple fields).</li></ul>' > - 'Example:</br>' > - '- name: Biblionumbers<br />' > - ' fields: [local-number]<br />' > - ' multiple: ignore<br />' > - '- name: Title and author<br />' > - ' fields: [title, author]<br />' >- - ' multiple: join<br /><br />' >+ - ' multiple: join' > - '<p>See also: <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EnableElasticsearchSearchResultExport">EnableElasticsearchSearchResultExport</a></p>' > - > - Limit export from search results to a maximum of > - pref: ElasticsearchSearchResultExportLimit > class: integer >- - search result items (Elasticsearch only).<br /><br /> >+ - search result items (Elasticsearch only). > - '<p>See also: <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EnableElasticsearchSearchResultExport">EnableElasticsearchSearchResultExport</a></p>' > Results display: > - >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27859
:
117718
|
117721
|
124892
|
124893
|
128632
|
131442
|
131443
|
132993
|
132997
|
133076
|
145243
|
145244
|
145263
|
145300
|
147927
|
147935
|
147936
|
162342
|
162343
|
163761
| 163762