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

(-)a/C4/Search.pm (+1 lines)
Lines 1188-1193 sub getIndexes{ Link Here
1188
                    'notes',
1188
                    'notes',
1189
                    'ns',
1189
                    'ns',
1190
                    'nt',
1190
                    'nt',
1191
                    'Other-control-number',
1191
                    'pb',
1192
                    'pb',
1192
                    'Personal-name',
1193
                    'Personal-name',
1193
                    'Personal-name-heading',
1194
                    'Personal-name-heading',
(-)a/etc/zebradb/biblios/etc/bib1.att (-1 / +2 lines)
Lines 191-197 att 1207 Instruments-total-number Link Here
191
att 1208    Instruments-distint-number
191
att 1208    Instruments-distint-number
192
att 1209    Identifier-URN
192
att 1209    Identifier-URN
193
att 1210    Sears-Subject-Heading
193
att 1210    Sears-Subject-Heading
194
att 1211    OCLC-Number
194
#att 1211    OCLC-Number
195
att 1211    Other-control-number
195
att 1212    Composition
196
att 1212    Composition
196
att 1213    Intellectual-level
197
att 1213    Intellectual-level
197
att 1214    EAN
198
att 1214    EAN
(-)a/etc/zebradb/ccl.properties (+3 lines)
Lines 362-367 Date/time-last-modified 1=1012 Link Here
362
Dissertation-information 1=1056
362
Dissertation-information 1=1056
363
diss Dissertation-information
363
diss Dissertation-information
364
364
365
#OCLC Number          1211  OCLC Number                     MARC21 035
366
Other-control-number 1=1211
367
365
#EAN                  1214  European article number         UNIMARC 073
368
#EAN                  1214  European article number         UNIMARC 073
366
EAN 1=1214
369
EAN 1=1214
367
ean EAN
370
ean EAN
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (-1 / +13 lines)
Lines 165-171 Link Here
165
  <index_data_field tag="034">
165
  <index_data_field tag="034">
166
    <target_index>Map-scale:w</target_index>
166
    <target_index>Map-scale:w</target_index>
167
  </index_data_field>
167
  </index_data_field>
168
  <!--record.abs line 68: melm 037        Identifier-standard,Stock-number-->
168
  <!--record.abs line 75: melm 035$a      Other-control-number-->
169
  <index_subfields tag="035" subfields="a">
170
    <target_index>Other-control-number:w</target_index>
171
  </index_subfields>
172
  <!--record.abs line 76: melm 035$z      Other-control-number-->
173
  <index_subfields tag="035" subfields="z">
174
    <target_index>Other-control-number:w</target_index>
175
  </index_subfields>
176
  <!--record.abs line 77: melm 035        Other-control-number-->
177
  <index_data_field tag="035">
178
    <target_index>Other-control-number:w</target_index>
179
  </index_data_field>
180
  <!--record.abs line 78: melm 037        Identifier-standard,Stock-number-->
169
  <index_data_field tag="037">
181
  <index_data_field tag="037">
170
    <target_index>Identifier-standard:w</target_index>
182
    <target_index>Identifier-standard:w</target_index>
171
    <target_index>Stock-number:w</target_index>
183
    <target_index>Stock-number:w</target_index>
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (+29 lines)
Lines 159-164 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
159
      </xslo:if>
159
      </xslo:if>
160
    </xslo:for-each>
160
    </xslo:for-each>
161
  </xslo:template>
161
  </xslo:template>
162
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='035']">
163
    <xslo:for-each select="marc:subfield">
164
      <xslo:if test="contains('a', @code)">
165
        <z:index name="Other-control-number:w">
166
          <xslo:value-of select="."/>
167
        </z:index>
168
      </xslo:if>
169
    </xslo:for-each>
170
    <xslo:for-each select="marc:subfield">
171
      <xslo:if test="contains('z', @code)">
172
        <z:index name="Other-control-number:w">
173
          <xslo:value-of select="."/>
174
        </z:index>
175
      </xslo:if>
176
    </xslo:for-each>
177
  </xslo:template>
162
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='041']">
178
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='041']">
163
    <xslo:for-each select="marc:subfield">
179
    <xslo:for-each select="marc:subfield">
164
      <xslo:if test="contains('a', @code)">
180
      <xslo:if test="contains('a', @code)">
Lines 1527-1532 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1527
      <xslo:value-of select="normalize-space($raw_heading)"/>
1543
      <xslo:value-of select="normalize-space($raw_heading)"/>
1528
    </z:index>
1544
    </z:index>
1529
  </xslo:template>
1545
  </xslo:template>
1546
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='035']">
1547
    <z:index name="Other-control-number:w">
1548
      <xslo:variable name="raw_heading">
1549
        <xslo:for-each select="marc:subfield">
1550
          <xslo:if test="position() &gt; 1">
1551
            <xslo:value-of select="substring(' ', 1, 1)"/>
1552
          </xslo:if>
1553
          <xslo:value-of select="."/>
1554
        </xslo:for-each>
1555
      </xslo:variable>
1556
      <xslo:value-of select="normalize-space($raw_heading)"/>
1557
    </z:index>
1558
  </xslo:template>
1530
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='037']">
1559
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='037']">
1531
    <z:index name="Identifier-standard:w Stock-number:w">
1560
    <z:index name="Identifier-standard:w Stock-number:w">
1532
      <xslo:variable name="raw_heading">
1561
      <xslo:variable name="raw_heading">
(-)a/etc/zebradb/marc_defs/marc21/biblios/record.abs (-2 / +3 lines)
Lines 72-78 melm 028 Identifier-publisher-for-music,Identifier-standard Link Here
72
melm 030        CODEN,Identifier-standard
72
melm 030        CODEN,Identifier-standard
73
#melm 033       Date
73
#melm 033       Date
74
melm 034        Map-scale
74
melm 034        Map-scale
75
#melm 035       Local-number,Identifier-standard
75
melm 035$a      Other-control-number
76
melm 035$z      Other-control-number
77
melm 035        Other-control-number
76
melm 037        Identifier-standard,Stock-number
78
melm 037        Identifier-standard,Stock-number
77
melm 040        Code-institution,Record-source
79
melm 040        Code-institution,Record-source
78
melm 041$a      ln,ln-audio:w
80
melm 041$a      ln,ln-audio:w
79
- 

Return to bug 6499