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

(-)a/etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml (+1 lines)
Lines 1-6 Link Here
1
<?xml version="1.0" encoding="utf-8"?>
1
<?xml version="1.0" encoding="utf-8"?>
2
<kohaidx:index_defs xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs"
2
<kohaidx:index_defs xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs"
3
                    xmlns="http://www.koha-community.org/schemas/index-defs">
3
                    xmlns="http://www.koha-community.org/schemas/index-defs">
4
  <id>marc:datafield[@tag='999']/marc:subfield[@code='c']</id>
4
  <!--record.abs line 64: xelm /record/leader llength:w:range(data,0,5),rtype:w:range(data,6,1),Bib-level:w:range(data,7,1)-->
5
  <!--record.abs line 64: xelm /record/leader llength:w:range(data,0,5),rtype:w:range(data,6,1),Bib-level:w:range(data,7,1)-->
5
  <index_leader offset="0" length="5">
6
  <index_leader offset="0" length="5">
6
    <target_index>llength:w</target_index>
7
    <target_index>llength:w</target_index>
(-)a/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl (-2 / +1 lines)
Lines 28-34 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
28
    </xslo:if>
28
    </xslo:if>
29
  </xslo:template>
29
  </xslo:template>
30
  <xslo:template match="marc:record">
30
  <xslo:template match="marc:record">
31
    <xslo:variable name="idfield" select="normalize-space()"/>
31
    <xslo:variable name="idfield" select="normalize-space(marc:datafield[@tag='999']/marc:subfield[@code='c'])"/>
32
    <z:record type="update">
32
    <z:record type="update">
33
      <xslo:attribute name="z:id">
33
      <xslo:attribute name="z:id">
34
        <xslo:value-of select="$idfield"/>
34
        <xslo:value-of select="$idfield"/>
35
- 

Return to bug 13163