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

(-)a/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl (+3 lines)
Lines 1866-1871 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1866
      <z:index name="itype:0">
1866
      <z:index name="itype:0">
1867
        <xslo:value-of select="marc:subfield[@code='y']"/>
1867
        <xslo:value-of select="marc:subfield[@code='y']"/>
1868
      </z:index>
1868
      </z:index>
1869
      <z:index name="ccode:0">
1870
        <xslo:value-of select="marc:subfield[@code='8']"/>
1871
      </z:index>
1869
    </xslo:if>
1872
    </xslo:if>
1870
  </xslo:template>
1873
  </xslo:template>
1871
  <xslo:template mode="index_all" match="text()">
1874
  <xslo:template mode="index_all" match="text()">
(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl (-1 / +10 lines)
Lines 2539-2544 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2539
      <xslo:value-of select="normalize-space($raw_heading)"/>
2539
      <xslo:value-of select="normalize-space($raw_heading)"/>
2540
    </z:index>
2540
    </z:index>
2541
  </xslo:template>
2541
  </xslo:template>
2542
  <xslo:template mode="index_facets" match="marc:datafield[@tag='099']">
2543
    <xslo:if test="not(@ind1='z')">
2544
      <z:index name="ccode:0">
2545
        <xslo:value-of select="marc:subfield[@code='t']"/>
2546
      </z:index>
2547
    </xslo:if>
2548
  </xslo:template>
2542
  <xslo:template mode="index_facets" match="marc:datafield[@tag='225']">
2549
  <xslo:template mode="index_facets" match="marc:datafield[@tag='225']">
2543
    <xslo:if test="not(@ind1='z')">
2550
    <xslo:if test="not(@ind1='z')">
2544
      <z:index name="se:0">
2551
      <z:index name="se:0">
Lines 2683-2688 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2683
      <z:index name="location:0">
2690
      <z:index name="location:0">
2684
        <xslo:value-of select="marc:subfield[@code='e']"/>
2691
        <xslo:value-of select="marc:subfield[@code='e']"/>
2685
      </z:index>
2692
      </z:index>
2693
      <z:index name="ccode:0">
2694
        <xslo:value-of select="marc:subfield[@code='h']"/>
2695
      </z:index>
2686
    </xslo:if>
2696
    </xslo:if>
2687
  </xslo:template>
2697
  </xslo:template>
2688
  <xslo:template mode="index_all" match="text()">
2698
  <xslo:template mode="index_all" match="text()">
2689
- 

Return to bug 18322