[Koha-bugs] [Bug 33139] New facetable boolean Elasticsearch field 'has-eresource'.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 6 00:28:33 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33139

--- Comment #7 from Andreas Jonsson <andreas.jonsson at kreablo.se> ---

Currently indicators cannot be specified in the field mappings.

We should specify some syntax for doing this, though.  Maybe:

  has-eresource:
    label: has-eresource
    mandatory: ~
    mappings:
    - facet: 1
      marc_field: 856[14,]u
      marc_type: marc21
      sort: ~
      suggestible: ''
    - facet: 1
      marc_field: 856[7,02]u
      marc_type: marc21
      sort: ~
      suggestible: ''
    opac: 1
    staff_client: 1
    type: boolean

Or:

  has-eresource:
    label: has-eresource
    mandatory: ~
    mappings:
    - facet: 1
      marc_field: 856u
      indicator1: "14"
      marc_type: marc21
      sort: ~
      suggestible: ''
    - facet: 1
      marc_field: 856u
      indicator1: "7"
      indicator2: "02"
      marc_type: marc21
      sort: ~
      suggestible: ''
    opac: 1
    staff_client: 1
    type: boolean

But this should be a separate issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list