View | Details | Raw Unified | Return to bug 8665
Collapse All | Expand All

(-)a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl (-1 / +1 lines)
Lines 1122-1128 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1122
      <xslo:value-of select="normalize-space($raw_heading)"/>
1122
      <xslo:value-of select="normalize-space($raw_heading)"/>
1123
    </z:index>
1123
    </z:index>
1124
  </xslo:template>
1124
  </xslo:template>
1125
  <xslo:template mode="index_heading_conditional">
1125
  <xslo:template mode="index_heading_conditional" match="marc:datafield[@tag='450']">
1126
    <xslo:if test="substring(marc:subfield[@code='w']/text(), 2, 1)">
1126
    <xslo:if test="substring(marc:subfield[@code='w']/text(), 2, 1)">
1127
      <z:index name="Previous-heading-see-from:p">
1127
      <z:index name="Previous-heading-see-from:p">
1128
        <xslo:variable name="raw_heading">
1128
        <xslo:variable name="raw_heading">
(-)a/etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl (-1 / +1 lines)
Lines 288-293 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
288
    <xsl:template name="handle-index-heading-conditional">
288
    <xsl:template name="handle-index-heading-conditional">
289
        <xsl:for-each select="//kohaidx:index_heading_conditional[generate-id() = generate-id(key('index_heading_conditional_tag', @tag)[1])]">
289
        <xsl:for-each select="//kohaidx:index_heading_conditional[generate-id() = generate-id(key('index_heading_conditional_tag', @tag)[1])]">
290
            <xslo:template mode="index_heading_conditional">
290
            <xslo:template mode="index_heading_conditional">
291
                <xsl:attribute name="match">marc:datafield[@tag='<xsl:value-of select="@tag"/>']</xsl:attribute>
291
                <xslo:if>
292
                <xslo:if>
292
                    <xsl:attribute name="test"><xsl:value-of select="@test"/></xsl:attribute>
293
                    <xsl:attribute name="test"><xsl:value-of select="@test"/></xsl:attribute>
293
                    <xsl:for-each select="key('index_heading_conditional_tag', @tag)">
294
                    <xsl:for-each select="key('index_heading_conditional_tag', @tag)">
294
- 

Return to bug 8665