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

(-)a/etc/zebradb/authorities/etc/bib1.att (+1 lines)
Lines 47-52 att 9020 Chronological-term-see-from Link Here
47
att 9021    Chronological-term-see-also-from
47
att 9021    Chronological-term-see-also-from
48
48
49
# Topical Term
49
# Topical Term
50
att 21      Subject-heading
50
att 1079    Subject-topical
51
att 1079    Subject-topical
51
att 9013    Subject-topical-heading
52
att 9013    Subject-topical-heading
52
att 9014    Subject-topical-see-from
53
att 9014    Subject-topical-see-from
(-)a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml (+5 lines)
Lines 339-346 authority-zebra-indexdefs.xsl` Link Here
339
  <kohaidx:index_subfields tag="150" subfields="abvxyz">
339
  <kohaidx:index_subfields tag="150" subfields="abvxyz">
340
    <kohaidx:target_index>Subject-topical:w</kohaidx:target_index>
340
    <kohaidx:target_index>Subject-topical:w</kohaidx:target_index>
341
    <kohaidx:target_index>Subject-topical:p</kohaidx:target_index>
341
    <kohaidx:target_index>Subject-topical:p</kohaidx:target_index>
342
    <kohaidx:target_index>Subject-heading:w</kohaidx:target_index>
343
    <kohaidx:target_index>Subject-heading:p</kohaidx:target_index>
342
  </kohaidx:index_subfields>
344
  </kohaidx:index_subfields>
343
  <kohaidx:index_heading tag="150" subfields="abvxyz" subdivisions="vxyz">
345
  <kohaidx:index_heading tag="150" subfields="abvxyz" subdivisions="vxyz">
346
    <kohaidx:target_index>Subject-heading:w</kohaidx:target_index>
347
    <kohaidx:target_index>Subject-heading:p</kohaidx:target_index>
348
    <kohaidx:target_index>Subject-heading:s</kohaidx:target_index>
344
    <kohaidx:target_index>Subject-topical-heading:w</kohaidx:target_index>
349
    <kohaidx:target_index>Subject-topical-heading:w</kohaidx:target_index>
345
    <kohaidx:target_index>Subject-topical-heading:p</kohaidx:target_index>
350
    <kohaidx:target_index>Subject-topical-heading:p</kohaidx:target_index>
346
    <kohaidx:target_index>Subject-topical-heading:s</kohaidx:target_index>
351
    <kohaidx:target_index>Subject-topical-heading:s</kohaidx:target_index>
(-)a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl (-4 / +3 lines)
Lines 149-155 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
149
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='150']">
149
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='150']">
150
    <xslo:for-each select="marc:subfield">
150
    <xslo:for-each select="marc:subfield">
151
      <xslo:if test="contains('abvxyz', @code)">
151
      <xslo:if test="contains('abvxyz', @code)">
152
        <z:index name="Subject-topical:w Subject-topical:p">
152
        <z:index name="Subject-topical:w Subject-topical:p Subject-heading:w Subject-heading:p">
153
          <xslo:value-of select="."/>
153
          <xslo:value-of select="."/>
154
        </z:index>
154
        </z:index>
155
      </xslo:if>
155
      </xslo:if>
Lines 613-622 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
613
    </z:index>
613
    </z:index>
614
  </xslo:template>
614
  </xslo:template>
615
  <xslo:template mode="index_heading" match="marc:datafield[@tag='150']">
615
  <xslo:template mode="index_heading" match="marc:datafield[@tag='150']">
616
    <z:index name="Subject-topical-heading:w Subject-topical-heading:p Subject-topical-heading:s Heading:w Heading:p Heading:s">
616
    <z:index name="Subject-heading:w Subject-heading:p Subject-heading:s Subject-topical-heading:w Subject-topical-heading:p Subject-topical-heading:s Heading:w Heading:p Heading:s">
617
      <xslo:variable name="raw_heading">
617
      <xslo:variable name="raw_heading">
618
        <xslo:for-each select="marc:subfield">
618
        <xslo:for-each select="marc:subfield">
619
          <xslo:if test="contains('abvxyz', @code)" name="Subject-topical-heading:w Subject-topical-heading:p Subject-topical-heading:s Heading:w Heading:p Heading:s">
619
          <xslo:if test="contains('abvxyz', @code)" name="Subject-heading:w Subject-heading:p Subject-heading:s Subject-topical-heading:w Subject-topical-heading:p Subject-topical-heading:s Heading:w Heading:p Heading:s">
620
            <xslo:if test="position() &gt; 1">
620
            <xslo:if test="position() &gt; 1">
621
              <xslo:choose>
621
              <xslo:choose>
622
                <xslo:when test="contains('vxyz', @code)">
622
                <xslo:when test="contains('vxyz', @code)">
623
- 

Return to bug 36312