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

(-)a/C4/Search.pm (+1 lines)
Lines 1136-1141 sub getIndexes{ Link Here
1136
                    'diss',
1136
                    'diss',
1137
                    'EAN',
1137
                    'EAN',
1138
                    'extent',
1138
                    'extent',
1139
                    'Edition',
1139
                    'fic',
1140
                    'fic',
1140
                    'fiction',
1141
                    'fiction',
1141
                    'Form-subdivision',
1142
                    'Form-subdivision',
(-)a/Koha/QueryParser/Driver/PQF.pm (+1 lines)
Lines 679-684 sub TEST_SETUP { Link Here
679
    $self->add_bib1_field_map('author' => 'personal' => 'biblioserver' => { '1' => '1004' } );
679
    $self->add_bib1_field_map('author' => 'personal' => 'biblioserver' => { '1' => '1004' } );
680
    $self->add_bib1_field_map('author' => 'corporate' => 'biblioserver' => { '1' => '1005' } );
680
    $self->add_bib1_field_map('author' => 'corporate' => 'biblioserver' => { '1' => '1005' } );
681
    $self->add_search_field_alias( 'author' => 'corporate' => 'cpn' );
681
    $self->add_search_field_alias( 'author' => 'corporate' => 'cpn' );
682
    $self->add_bib1_field_map('keyword' => 'Edition' => 'biblioserver' => { '1' => '9016' } );
682
    $self->add_bib1_field_map('author' => 'conference' => 'biblioserver' => { '1' => '1006' } );
683
    $self->add_bib1_field_map('author' => 'conference' => 'biblioserver' => { '1' => '1006' } );
683
    $self->add_search_field_alias( 'author' => 'conference' => 'cfn' );
684
    $self->add_search_field_alias( 'author' => 'conference' => 'cfn' );
684
    $self->add_bib1_field_map('keyword' => 'local-classification' => 'biblioserver' => { '1' => '20' } );
685
    $self->add_bib1_field_map('keyword' => 'local-classification' => 'biblioserver' => { '1' => '20' } );
(-)a/etc/zebradb/ccl.properties (+3 lines)
Lines 366-371 diss Dissertation-information Link Here
366
EAN 1=1214
366
EAN 1=1214
367
ean EAN
367
ean EAN
368
368
369
#Edition Statement
370
Edition 1=1223
371
369
#Identifier--         1013  Used in full-text searching
372
#Identifier--         1013  Used in full-text searching
370
#authority/format           to indicate to the target
373
#authority/format           to indicate to the target
371
#                           system the format of the
374
#                           system the format of the
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (+6 lines)
Lines 412-417 Link Here
412
    <target_index>Title-other-variant:w</target_index>
412
    <target_index>Title-other-variant:w</target_index>
413
    <target_index>Related-periodical:w</target_index>
413
    <target_index>Related-periodical:w</target_index>
414
  </index_data_field>
414
  </index_data_field>
415
  <!--record.abs line 118: melm 250        Edition-->
416
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="250">
417
    <target_index>Edition:w</target_index>
418
    <target_index>Edition:p</target_index>
419
    <target_index>Edition:s</target_index>
420
  </index_data_field>
415
  <!--record.abs line 119: melm 260$a      pl:w,pl:p-->
421
  <!--record.abs line 119: melm 260$a      pl:w,pl:p-->
416
  <index_subfields tag="260" subfields="a">
422
  <index_subfields tag="260" subfields="a">
417
    <target_index>pl:w</target_index>
423
    <target_index>pl:w</target_index>
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (+13 lines)
Lines 1839-1844 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1839
      <xslo:value-of select="normalize-space($raw_heading)"/>
1839
      <xslo:value-of select="normalize-space($raw_heading)"/>
1840
    </z:index>
1840
    </z:index>
1841
  </xslo:template>
1841
  </xslo:template>
1842
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='250']">
1843
    <z:index name="Edition:w Edition:p Edition:s">
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>
1842
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='260']">
1855
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='260']">
1843
    <z:index name="pl:w">
1856
    <z:index name="pl:w">
1844
      <xslo:variable name="raw_heading">
1857
      <xslo:variable name="raw_heading">
(-)a/etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml (+6 lines)
Lines 296-301 Link Here
296
    <target_index>Title-expanded:w</target_index>
296
    <target_index>Title-expanded:w</target_index>
297
    <target_index>Title-former:w</target_index>
297
    <target_index>Title-former:w</target_index>
298
  </index_data_field>
298
  </index_data_field>
299
  <!--record.abs line 118: melm 250        Edition-->
300
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="250">
301
    <target_index>Edition:w</target_index>
302
    <target_index>Edition:p</target_index>
303
    <target_index>Edition:s</target_index>
304
  </index_data_field>
299
  <!--record.abs line 144: melm 260$a      pl:w,pl:p-->
305
  <!--record.abs line 144: melm 260$a      pl:w,pl:p-->
300
  <index_subfields tag="260" subfields="a">
306
  <index_subfields tag="260" subfields="a">
301
    <target_index>pl:w</target_index>
307
    <target_index>pl:w</target_index>
(-)a/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl (+13 lines)
Lines 1346-1351 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1346
      <xslo:value-of select="normalize-space($raw_heading)"/>
1346
      <xslo:value-of select="normalize-space($raw_heading)"/>
1347
    </z:index>
1347
    </z:index>
1348
  </xslo:template>
1348
  </xslo:template>
1349
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='250']">
1350
    <z:index name="Edition:w Edition:p Edition:s">
1351
      <xslo:variable name="raw_heading">
1352
        <xslo:for-each select="marc:subfield">
1353
          <xslo:if test="position() &gt; 1">
1354
            <xslo:value-of select="substring(' ', 1, 1)"/>
1355
          </xslo:if>
1356
          <xslo:value-of select="."/>
1357
        </xslo:for-each>
1358
      </xslo:variable>
1359
      <xslo:value-of select="normalize-space($raw_heading)"/>
1360
    </z:index>
1361
  </xslo:template>
1349
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='260']">
1362
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='260']">
1350
    <z:index name="pl:w">
1363
    <z:index name="pl:w">
1351
      <xslo:variable name="raw_heading">
1364
      <xslo:variable name="raw_heading">
(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml (+3 lines)
Lines 491-496 Link Here
491
  <index_data_field tag="205">
491
  <index_data_field tag="205">
492
    <target_index>Title:w</target_index>
492
    <target_index>Title:w</target_index>
493
    <target_index>Title:p</target_index>
493
    <target_index>Title:p</target_index>
494
    <target_index>Edition:w</target_index>
495
    <target_index>Edition:p</target_index>
496
    <target_index>Edition:s</target_index>
494
  </index_data_field>
497
  </index_data_field>
495
  <!--206 - Material Specific Area fields : maps-->
498
  <!--206 - Material Specific Area fields : maps-->
496
  <!--207 - Material Specific Area fields : serials-->
499
  <!--207 - Material Specific Area fields : serials-->
(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl (-2 / +1 lines)
Lines 2022-2028 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2022
    </z:index>
2022
    </z:index>
2023
  </xslo:template>
2023
  </xslo:template>
2024
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='205']">
2024
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='205']">
2025
    <z:index name="Title:w Title:p">
2025
    <z:index name="Title:w Title:p Edition:w Edition:p Edition:s">
2026
      <xslo:variable name="raw_heading">
2026
      <xslo:variable name="raw_heading">
2027
        <xslo:for-each select="marc:subfield">
2027
        <xslo:for-each select="marc:subfield">
2028
          <xslo:if test="position() &gt; 1">
2028
          <xslo:if test="position() &gt; 1">
2029
- 

Return to bug 11194