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

(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (-6 / +6 lines)
Lines 686-695 Link Here
686
  <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">
687
    <target_index>Koha-Auth-Number:w</target_index>
687
    <target_index>Koha-Auth-Number:w</target_index>
688
  </index_subfields>
688
  </index_subfields>
689
  <!--melm 653$a      Index-term-genre    -->
689
  <!--melm 653$a      Index-term-uncontrolled    -->
690
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="a">
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>
691
    <target_index>Index-term-uncontrolled:w</target_index>
692
    <target_index>Index-term-genre:p</target_index>
692
    <target_index>Index-term-uncontrolled:p</target_index>
693
    <target_index>Subject:w</target_index>
693
    <target_index>Subject:w</target_index>
694
    <target_index>Subject:p</target_index>
694
    <target_index>Subject:p</target_index>
695
  </index_subfields>
695
  </index_subfields>
Lines 711-720 Link Here
711
    <target_index>Subject:w</target_index>
711
    <target_index>Subject:w</target_index>
712
    <target_index>Subject:p</target_index>
712
    <target_index>Subject:p</target_index>
713
  </index_data_field>
713
  </index_data_field>
714
  <!--melm 655$a      Index-term-uncontrolled    -->
714
  <!--melm 655$a      Index-term-genre    -->
715
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="a">
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>
716
    <target_index>Index-term-genre:w</target_index>
717
    <target_index>Index-term-uncontrolled:p</target_index>
717
    <target_index>Index-term-genre:p</target_index>
718
    <target_index>Subject:w</target_index>
718
    <target_index>Subject:w</target_index>
719
    <target_index>Subject:p</target_index>
719
    <target_index>Subject:p</target_index>
720
  </index_subfields>
720
  </index_subfields>
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (-3 / +2 lines)
Lines 588-594 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
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)">
590
      <xslo:if test="contains('a', @code)">
591
        <z:index name="Index-term-genre:w Index-term-genre:p Subject:w Subject:p">
591
        <z:index name="Index-term-uncontrolled:w Index-term-uncontrolled:p Subject:w Subject:p">
592
          <xslo:value-of select="."/>
592
          <xslo:value-of select="."/>
593
        </z:index>
593
        </z:index>
594
      </xslo:if>
594
      </xslo:if>
Lines 613-619 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
613
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='655']">
613
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='655']">
614
    <xslo:for-each select="marc:subfield">
614
    <xslo:for-each select="marc:subfield">
615
      <xslo:if test="contains('a', @code)">
615
      <xslo:if test="contains('a', @code)">
616
        <z:index name="Index-term-uncontrolled:w Index-term-uncontrolled:p Subject:w Subject:p">
616
        <z:index name="Index-term-genre:w Index-term-genre:p Subject:w Subject:p">
617
          <xslo:value-of select="."/>
617
          <xslo:value-of select="."/>
618
        </z:index>
618
        </z:index>
619
      </xslo:if>
619
      </xslo:if>
620
- 

Return to bug 9972