View | Details | Raw Unified | Return to bug 27859
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref (-14 / +13 lines)
Lines 173-208 Searching: Link Here
173
              default: yes
173
              default: yes
174
              choices:
174
              choices:
175
                  1: Enable
175
                  1: Enable
176
                  0: Disable
176
                  0: "Don't enable"
177
            - 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).
177
            - exporting search results (Elasticsearch only).
178
            - "<p><strong>NOTE:</strong> Records exceeding the ISO2709 record size will show as separate MARC XML downloads regardless of the selected export format.</p>"
178
        -
179
        -
179
            - pref: ElasticsearchSearchResultExportCustomFormats
180
            - pref: ElasticsearchSearchResultExportCustomFormats
180
              type: textarea
181
              type: textarea
181
              syntax: text/x-yaml
182
              syntax: text/x-yaml
182
              class: code
183
              class: code
183
            - <p>Define custom export formats as a YAML list of associative arrays (Elasticsearch only).</p>
184
            - <p>Define custom export formats as a YAML list of associative arrays (Elasticsearch only).</p>
184
            - <p>Formats are defined using three properties, a required "<strong>name</strong>" and "<strong>fields</strong>" and an optional "<strong>multiple</strong>".</p>
185
            - <p>The custom export formats are defined using three properties:</p>
185
            - '<p><strong>name</strong>: the human readable name of the format exposed in the staff interface.</p>'
186
            - '<ul><li><strong>name</strong> (required): the human readable name of the format displayed in the staff interface.</li>'
186
            - '<p><strong>fields</strong>: a list of Elasticsearch fields to be included in the export.'
187
            - '<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>'
187
            - 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>
188
            - '<li><strong>multiple</strong> (optional): ignore, join, or newline.</li></ul>'
188
            - '<p><strong>multiple</strong>: <i>ignore</i>|<i>join</i>|<i>newline</i></p>'
189
            - <p>The behavior when handling fields with multiple values:</p>
189
            - <p>The behavior when handling fields with multiple values.</p>
190
            - '<ul><li>ignore: the default option, only the first value is includedi and the rest are ignored.</li>'
190
            - '<p><i>ignore</i>: the default option, only the first value is included, the rest ignored.</p>'
191
            - '<li>join: multiple values are concatenated using | as a separator.</li>'
191
            - '<p><i>join</i>: multiple values are concatenated using \"|\" as a separator.</p>'
192
            - '<li>newline: a new line is inserted after each value (this option does not allow "<strong>fields</strong>" to contain multiple fields).</li></ul>'
192
            - '<p><i>newline</i>: a newline is inserted after each value. This option does not allow \"<strong>fields</strong>\" to contain multiple fields.</p>'
193
            - 'Example:</br>'
193
            - 'Example:</br>'
194
            - '- name: Biblionumbers<br />'
194
            - '- name: Biblionumbers<br />'
195
            - '&nbsp;&nbsp;fields: [local-number]<br />'
195
            - '&nbsp;&nbsp;fields: [local-number]<br />'
196
            - '&nbsp;&nbsp;multiple: ignore<br />'
196
            - '&nbsp;&nbsp;multiple: ignore<br />'
197
            - '- name: Title and author<br />'
197
            - '- name: Title and author<br />'
198
            - '&nbsp;&nbsp;fields: [title, author]<br />'
198
            - '&nbsp;&nbsp;fields: [title, author]<br />'
199
            - '&nbsp;&nbsp;multiple: join<br /><br />'
199
            - '&nbsp;&nbsp;multiple: join'
200
            - '<p>See also: <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EnableElasticsearchSearchResultExport">EnableElasticsearchSearchResultExport</a></p>'
200
            - '<p>See also: <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EnableElasticsearchSearchResultExport">EnableElasticsearchSearchResultExport</a></p>'
201
        -
201
        -
202
            - Limit export from search results to a maximum of
202
            - Limit export from search results to a maximum of
203
            - pref: ElasticsearchSearchResultExportLimit
203
            - pref: ElasticsearchSearchResultExportLimit
204
              class: integer
204
              class: integer
205
            - search result items (Elasticsearch only).<br /><br />
205
            - search result items (Elasticsearch only).
206
            - '<p>See also: <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EnableElasticsearchSearchResultExport">EnableElasticsearchSearchResultExport</a></p>'
206
            - '<p>See also: <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EnableElasticsearchSearchResultExport">EnableElasticsearchSearchResultExport</a></p>'
207
    Results display:
207
    Results display:
208
        -
208
        -
209
- 

Return to bug 27859