[Koha-bugs] [Bug 23000] New: Running xsltproc for authority index definitions adds unwanted changes
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 28 20:44:47 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23000
Bug ID: 23000
Summary: Running xsltproc for authority index definitions adds
unwanted changes
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: katrin.fischer at bsz-bw.de
Target Milestone: ---
When running the xsptproc process for generating the authority zebra index
configuration, there are unwanted changes added to the files:
xsltproc /etc/koha/zebradb/xsl/koha-indexdefs-to-zebra.xsl
authority-koha-indexdefs.xml > authority-zebra-indexdefs.xsl
Generates:
<xslo:template mode="index_sort_tit" match="marc:datafield[@tag='245']">
<xslo:variable name="chop">
<xslo:choose>
<xslo:when test="not(number(@ind2))">0</xslo:when>
<xslo:otherwise>
<xslo:value-of select="number(@ind2)"/>
</xslo:otherwise>
</xslo:choose>
</xslo:variable>
<z:index name="Title:s">
<xslo:value-of select="substring(marc:subfield[@code='a'], $chop+1)"/>
</z:index>
</xslo:template>
I think this is only meant for the bibliographic file.
--
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