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

(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (+16 lines)
Lines 547-552 Link Here
547
  </index_data_field>
547
  </index_data_field>
548
  <!--record.abs line 153: melm 521$a      lex:n-->
548
  <!--record.abs line 153: melm 521$a      lex:n-->
549
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="521" subfields="a">
549
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="521" subfields="a">
550
    <target_index>lex:w</target_index>
551
    <target_index>lex:p</target_index>
550
    <target_index>lex:n</target_index>
552
    <target_index>lex:n</target_index>
551
  </index_subfields>
553
  </index_subfields>
552
  <!--record.abs line 154: melm 526$c      arl,arl:n-->
554
  <!--record.abs line 154: melm 526$c      arl,arl:n-->
Lines 684-689 Link Here
684
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="652" subfields="9">
686
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="652" subfields="9">
685
    <target_index>Koha-Auth-Number:w</target_index>
687
    <target_index>Koha-Auth-Number:w</target_index>
686
  </index_subfields>
688
  </index_subfields>
689
  <!--melm 653$a      Index-term-genre    -->
690
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="a">
691
    <target_index>Index-term-genre:w</target_index>
692
    <target_index>Index-term-genre:p</target_index>
693
    <target_index>Subject:w</target_index>
694
    <target_index>Subject:p</target_index>
695
  </index_subfields> 
687
  <!--record.abs line 183: melm 653$9      Koha-Auth-Number    -->
696
  <!--record.abs line 183: melm 653$9      Koha-Auth-Number    -->
688
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="9">
697
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="9">
689
    <target_index>Koha-Auth-Number:w</target_index>
698
    <target_index>Koha-Auth-Number:w</target_index>
Lines 702-707 Link Here
702
    <target_index>Subject:w</target_index>
711
    <target_index>Subject:w</target_index>
703
    <target_index>Subject:p</target_index>
712
    <target_index>Subject:p</target_index>
704
  </index_data_field>
713
  </index_data_field>
714
  <!--melm 655$a      Index-term-uncontrolled    -->
715
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="a">
716
    <target_index>Index-term-uncontrolled:w</target_index>
717
    <target_index>Index-term-uncontrolled:p</target_index>
718
    <target_index>Subject:w</target_index>
719
    <target_index>Subject:p</target_index>
720
  </index_subfields>
705
  <!--record.abs line 187: melm 655$9      Koha-Auth-Number    -->
721
  <!--record.abs line 187: melm 655$9      Koha-Auth-Number    -->
706
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="9">
722
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="9">
707
    <target_index>Koha-Auth-Number:w</target_index>
723
    <target_index>Koha-Auth-Number:w</target_index>
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (-2 / +15 lines)
Lines 444-450 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
444
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='521']">
444
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='521']">
445
    <xslo:for-each select="marc:subfield">
445
    <xslo:for-each select="marc:subfield">
446
      <xslo:if test="contains('a', @code)">
446
      <xslo:if test="contains('a', @code)">
447
        <z:index name="lex:n">
447
        <z:index name="lex:w lex:p lex:n">
448
          <xslo:value-of select="."/>
448
          <xslo:value-of select="."/>
449
        </z:index>
449
        </z:index>
450
      </xslo:if>
450
      </xslo:if>
Lines 587-592 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
587
  </xslo:template>
587
  </xslo:template>
588
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='653']">
588
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='653']">
589
    <xslo:for-each select="marc:subfield">
589
    <xslo:for-each select="marc:subfield">
590
      <xslo:if test="contains('a', @code)">
591
        <z:index name="Index-term-genre:w Index-term-genre:p Subject:w Subject:p">
592
          <xslo:value-of select="."/>
593
        </z:index>
594
      </xslo:if>
595
    </xslo:for-each>
596
    <xslo:for-each select="marc:subfield">
590
      <xslo:if test="contains('9', @code)">
597
      <xslo:if test="contains('9', @code)">
591
        <z:index name="Koha-Auth-Number:w">
598
        <z:index name="Koha-Auth-Number:w">
592
          <xslo:value-of select="."/>
599
          <xslo:value-of select="."/>
Lines 605-610 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
605
  </xslo:template>
612
  </xslo:template>
606
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='655']">
613
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='655']">
607
    <xslo:for-each select="marc:subfield">
614
    <xslo:for-each select="marc:subfield">
615
      <xslo:if test="contains('a', @code)">
616
        <z:index name="Index-term-uncontrolled:w Index-term-uncontrolled:p Subject:w Subject:p">
617
          <xslo:value-of select="."/>
618
        </z:index>
619
      </xslo:if>
620
    </xslo:for-each>
621
    <xslo:for-each select="marc:subfield">
608
      <xslo:if test="contains('9', @code)">
622
      <xslo:if test="contains('9', @code)">
609
        <z:index name="Koha-Auth-Number:w">
623
        <z:index name="Koha-Auth-Number:w">
610
          <xslo:value-of select="."/>
624
          <xslo:value-of select="."/>
611
- 

Return to bug 9972