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

(-)a/C4/Search.pm (+2 lines)
Lines 1179-1184 sub getIndexes{ Link Here
1179
                    'notes',
1179
                    'notes',
1180
                    'ns',
1180
                    'ns',
1181
                    'nt',
1181
                    'nt',
1182
                    'oclc',
1183
                    'OCLC-Number',
1182
                    'pb',
1184
                    'pb',
1183
                    'Personal-name',
1185
                    'Personal-name',
1184
                    'Personal-name-heading',
1186
                    'Personal-name-heading',
(-)a/etc/searchengine/queryparser.yaml (+9 lines)
Lines 923-928 field_mappings: Link Here
923
      aliases:
923
      aliases:
924
        - notforloan
924
        - notforloan
925
      label: Notforloan
925
      label: Notforloan
926
    oclc:
927
      bib1_mapping:
928
        biblioserver:
929
          1: 1211
930
      enabled: 1
931
      index: oclc
932
      aliases:
933
        - oclc
934
      label: OCLC-Number
926
    onloan:
935
    onloan:
927
      bib1_mapping:
936
      bib1_mapping:
928
        biblioserver:
937
        biblioserver:
(-)a/etc/zebradb/ccl.properties (+5 lines)
Lines 581-586 Personal-name-seealso 1=Personal-name-seealso Link Here
581
Publisher 1=1018
581
Publisher 1=1018
582
pb Publisher
582
pb Publisher
583
583
584
#OCLC-Number          1211  A sequential accession number   035$a
585
#                           assigned by OCLC
586
OCLC-Number 1=1211
587
oclc OCLC-Number
588
584
#Provider             1225  A generic, single index         257$a2
589
#Provider             1225  A generic, single index         257$a2
585
#                           combining place, publisher,     260$abcdefg3
590
#                           combining place, publisher,     260$abcdefg3
586
#                           and date. To avoid searching    264$abc3
591
#                           and date. To avoid searching    264$abc3
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (+5 lines)
Lines 180-185 Link Here
180
  <index_data_field tag="034">
180
  <index_data_field tag="034">
181
    <target_index>Map-scale:w</target_index>
181
    <target_index>Map-scale:w</target_index>
182
  </index_data_field>
182
  </index_data_field>
183
  <!--record.abs line 75: melm 035$a      OCLC-Number:w,Identifier-standard:w-->
184
  <index_subfields tag="035" subfields="a">
185
    <target_index>OCLC-Number:w</target_index>
186
    <target_index>Identifier-standard:w</target_index>
187
  </index_subfields>
183
  <!--record.abs line 68: melm 037        Identifier-standard,Stock-number-->
188
  <!--record.abs line 68: melm 037        Identifier-standard,Stock-number-->
184
  <index_data_field tag="037">
189
  <index_data_field tag="037">
185
    <target_index>Identifier-standard:w</target_index>
190
    <target_index>Identifier-standard:w</target_index>
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (+9 lines)
Lines 191-196 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
191
      </xslo:for-each>
191
      </xslo:for-each>
192
    </xslo:if>
192
    </xslo:if>
193
  </xslo:template>
193
  </xslo:template>
194
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='035']">
195
    <xslo:for-each select="marc:subfield">
196
      <xslo:if test="contains('a', @code)">
197
        <z:index name="OCLC-Number:w Identifier-standard:w">
198
          <xslo:value-of select="."/>
199
        </z:index>
200
      </xslo:if>
201
    </xslo:for-each>
202
  </xslo:template>
194
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='041']">
203
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='041']">
195
    <xslo:for-each select="marc:subfield">
204
    <xslo:for-each select="marc:subfield">
196
      <xslo:if test="contains('a', @code)">
205
      <xslo:if test="contains('a', @code)">
(-)a/etc/zebradb/marc_defs/marc21/biblios/record.abs (-2 / +1 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      OCLC-Number,Identifier-standard
76
melm 037        Identifier-standard,Stock-number
76
melm 037        Identifier-standard,Stock-number
77
melm 040        Code-institution,Record-source
77
melm 040        Code-institution,Record-source
78
melm 041$a      ln,ln-audio:w
78
melm 041$a      ln,ln-audio:w
79
- 

Return to bug 16986