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 430-435 Link Here
430
  <!--record.abs line 122: melm 260        pl-->
430
  <!--record.abs line 122: melm 260        pl-->
431
  <index_data_field tag="260">
431
  <index_data_field tag="260">
432
    <target_index>pl:w</target_index>
432
    <target_index>pl:w</target_index>
433
    <target_index>Provider:w</target_index>
434
  </index_data_field>
435
  <!--Index for RDA 264 field-->
436
  <index_data_field tag="264">
437
    <target_index>Provider:w</target_index>
433
  </index_data_field>
438
  </index_data_field>
434
  <!--record.abs line 123: melm 300        Extent:w,Extent:p-->
439
  <!--record.abs line 123: melm 300        Extent:w,Extent:p-->
435
  <index_data_field tag="300">
440
  <index_data_field tag="300">
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (-2 / +14 lines)
Lines 1840-1846 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1840
    </z:index>
1840
    </z:index>
1841
  </xslo:template>
1841
  </xslo:template>
1842
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='260']">
1842
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='260']">
1843
    <z:index name="pl:w">
1843
    <z:index name="pl:w Provider:w">
1844
      <xslo:variable name="raw_heading">
1845
        <xslo:for-each select="marc:subfield">
1846
          <xslo:if test="position() &gt; 1">
1847
            <xslo:value-of select="substring(' ', 1, 1)"/>
1848
          </xslo:if>
1849
          <xslo:value-of select="."/>
1850
        </xslo:for-each>
1851
      </xslo:variable>
1852
      <xslo:value-of select="normalize-space($raw_heading)"/>
1853
    </z:index>
1854
  </xslo:template>
1855
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='264']">
1856
    <z:index name="Provider:w">
1844
      <xslo:variable name="raw_heading">
1857
      <xslo:variable name="raw_heading">
1845
        <xslo:for-each select="marc:subfield">
1858
        <xslo:for-each select="marc:subfield">
1846
          <xslo:if test="position() &gt; 1">
1859
          <xslo:if test="position() &gt; 1">
1847
- 

Return to bug 14198