[Koha-bugs] [Bug 29814] New: Unwanted dashes added to authorities Zebra indexing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 7 02:06:28 CET 2022


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

            Bug ID: 29814
           Summary: Unwanted dashes added to authorities Zebra indexing
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching - Zebra
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: fridolin.somers at biblibre.com

In Zebra authorities configuration, when using index_heading the subdivisions
are joined with two dashes.
You can see this when looking at what is indexed :
https://wiki.koha-community.org/wiki/Troubleshooting_Zebra#Which_indexes_are_defined.3F

For example :
field 250
$a Cinéma
$x Films
$y France
$z 2010

Shows :
<z:index name="Subject-topical-heading:w Subject-topical-heading:p
Subject-topical-heading:s Heading:w Heading:p
Heading:s">Cinéma--Films--France--2010</z:index>

And a search "Cinéma Films France 2010" on main heading does not find this
record.

It comes from
https://git.koha-community.org/Koha-community/Koha/src/commit/895fc88605f7381218b38463be17531a06403c1a/etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl#L438

Anyone knows where this comes from and how it is supposed to work ?

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


More information about the Koha-bugs mailing list