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

(-)a/C4/Search.pm (+2 lines)
Lines 1199-1204 sub getIndexes{ Link Here
1199
                    'popularity',
1199
                    'popularity',
1200
                    'pubdate',
1200
                    'pubdate',
1201
                    'Publisher',
1201
                    'Publisher',
1202
                    'Provider',
1203
                    'pv',
1202
                    'Record-control-number',
1204
                    'Record-control-number',
1203
                    'rcn',
1205
                    'rcn',
1204
                    'Record-type',
1206
                    'Record-type',
(-)a/etc/zebradb/biblios/etc/bib1.att (+1 lines)
Lines 205-210 att 1221 Subject-occupation Link Here
205
att 1222    Subject-function
205
att 1222    Subject-function
206
att 1223    Edition
206
att 1223    Edition
207
att 1224    GPO-Item-Number
207
att 1224    GPO-Item-Number
208
att 1225    Provider
208
209
209
# Koha Local-Use Biblio Indexes
210
# Koha Local-Use Biblio Indexes
210
att 9001    Control-number
211
att 9001    Control-number
(-)a/etc/zebradb/ccl.properties (+8 lines)
Lines 579-584 Personal-name-seealso 1=Personal-name-seealso Link Here
579
Publisher 1=1018
579
Publisher 1=1018
580
pb Publisher
580
pb Publisher
581
581
582
#Provider             1225  A generic, single index         257$a2
583
#                           combining place, publisher,     260$abcdefg3
584
#                           and date. To avoid searching    264$abc3
585
#                           multiple indexes for            270$abcd
586
#                           publication/production info.
587
Provider 1=1225
588
pv Provider
589
582
#Note                   63  A concise statement in which    5XX
590
#Note                   63  A concise statement in which    5XX
583
#                           such information as extended
591
#                           such information as extended
584
#                           physical description,
592
#                           physical description,
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (+5 lines)
Lines 442-447 Link Here
442
  <!--record.abs line 122: melm 260        pl-->
442
  <!--record.abs line 122: melm 260        pl-->
443
  <index_data_field tag="260">
443
  <index_data_field tag="260">
444
    <target_index>pl:w</target_index>
444
    <target_index>pl:w</target_index>
445
    <target_index>Provider:w</target_index>
446
  </index_data_field>
447
  <!--Index for RDA 264 field-->
448
  <index_data_field tag="264">
449
    <target_index>Provider:w</target_index>
445
  </index_data_field>
450
  </index_data_field>
446
  <!--record.abs line 123: melm 300        Extent:w,Extent:p-->
451
  <!--record.abs line 123: melm 300        Extent:w,Extent:p-->
447
  <index_data_field tag="300">
452
  <index_data_field tag="300">
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (-2 / +14 lines)
Lines 1861-1867 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1861
    </z:index>
1861
    </z:index>
1862
  </xslo:template>
1862
  </xslo:template>
1863
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='260']">
1863
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='260']">
1864
    <z:index name="pl:w">
1864
    <z:index name="pl:w Provider:w">
1865
      <xslo:variable name="raw_heading">
1866
        <xslo:for-each select="marc:subfield">
1867
          <xslo:if test="position() &gt; 1">
1868
            <xslo:value-of select="substring(' ', 1, 1)"/>
1869
          </xslo:if>
1870
          <xslo:value-of select="."/>
1871
        </xslo:for-each>
1872
      </xslo:variable>
1873
      <xslo:value-of select="normalize-space($raw_heading)"/>
1874
    </z:index>
1875
  </xslo:template>
1876
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='264']">
1877
    <z:index name="Provider:w">
1865
      <xslo:variable name="raw_heading">
1878
      <xslo:variable name="raw_heading">
1866
        <xslo:for-each select="marc:subfield">
1879
        <xslo:for-each select="marc:subfield">
1867
          <xslo:if test="position() &gt; 1">
1880
          <xslo:if test="position() &gt; 1">
1868
- 

Return to bug 14198