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

Return to bug 27859