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

(-)a/etc/zebradb/authorities/etc/bib1.att (+1 lines)
Lines 14-19 att 9043 Kind-of-record Link Here
14
att 9046    Record-status
14
att 9046    Record-status
15
att 9050    Subject-heading-thesaurus
15
att 9050    Subject-heading-thesaurus
16
att 9051    Previous-heading-see-from
16
att 9051    Previous-heading-see-from
17
att 9052    Other-control-number
17
18
18
# Personal Name
19
# Personal Name
19
att 1       Personal-name
20
att 1       Personal-name
(-)a/etc/zebradb/ccl.properties (+1 lines)
Lines 888-893 Heading-use-main-or-added-entry 1=Heading-use-main-or-added-entry Link Here
888
Heading-use-series-added-entry 1=Heading-use-series-added-entry
888
Heading-use-series-added-entry 1=Heading-use-series-added-entry
889
Heading-use-subject-added-entry 1=Heading-use-subject-added-entry
889
Heading-use-subject-added-entry 1=Heading-use-subject-added-entry
890
Subject-heading-thesaurus 1=Subject-heading-thesaurus
890
Subject-heading-thesaurus 1=Subject-heading-thesaurus
891
Other-control-number 1=Other-control-number
891
892
892
###################################################
893
###################################################
893
### 2. BIB1 RELATION ATTRIBUTES
894
### 2. BIB1 RELATION ATTRIBUTES
(-)a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml (+6 lines)
Lines 55-60 authority-zebra-indexdefs.xsl` Link Here
55
    <kohaidx:target_index>LC-card-number:p</kohaidx:target_index>
55
    <kohaidx:target_index>LC-card-number:p</kohaidx:target_index>
56
  </kohaidx:index_subfields>
56
  </kohaidx:index_subfields>
57
57
58
  <!-- 035 Other control number -->
59
  <kohaidx:index_subfields tag="035" subfields="az">
60
    <kohaidx:target_index>Other-control-number:w</kohaidx:target_index>
61
    <kohaidx:target_index>Other-control-number:p</kohaidx:target_index>
62
  </kohaidx:index_subfields>
63
58
  <!-- 040 cataloging agencies -->
64
  <!-- 040 cataloging agencies -->
59
  <kohaidx:index_subfields tag="040" subfields="acd">
65
  <kohaidx:index_subfields tag="040" subfields="acd">
60
    <kohaidx:target_index>Record-source:w</kohaidx:target_index>
66
    <kohaidx:target_index>Record-source:w</kohaidx:target_index>
(-)a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl (-2 / +10 lines)
Lines 53-59 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
53
    </z:index>
53
    </z:index>
54
  </xslo:template>
54
  </xslo:template>
55
  <xslo:template match="marc:controlfield[@tag='001']">
55
  <xslo:template match="marc:controlfield[@tag='001']">
56
    <z:index name="Local-Number:w Local-Number:n Local-Number:s Local-Number:p">
56
    <z:index name="Local-Number:w Local-Number:p Local-Number:n Local-Number:s">
57
      <xslo:value-of select="."/>
57
      <xslo:value-of select="."/>
58
    </z:index>
58
    </z:index>
59
  </xslo:template>
59
  </xslo:template>
Lines 83-88 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
83
      </xslo:if>
83
      </xslo:if>
84
    </xslo:for-each>
84
    </xslo:for-each>
85
  </xslo:template>
85
  </xslo:template>
86
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='035']">
87
    <xslo:for-each select="marc:subfield">
88
      <xslo:if test="contains('az', @code)">
89
        <z:index name="Other-control-number:w Other-control-number:p">
90
          <xslo:value-of select="."/>
91
        </z:index>
92
      </xslo:if>
93
    </xslo:for-each>
94
  </xslo:template>
86
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='040']">
95
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='040']">
87
    <xslo:for-each select="marc:subfield">
96
    <xslo:for-each select="marc:subfield">
88
      <xslo:if test="contains('acd', @code)">
97
      <xslo:if test="contains('acd', @code)">
89
- 

Return to bug 28337