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@lists.koha-community.org Reporter: katrin.fisc...@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. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/