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

(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (-2 / +6 lines)
Lines 17-23 Link Here
17
  </index_control_field>
17
  </index_control_field>
18
  <!--record.abs line 44: melm 005        Date/time-last-modified-->
18
  <!--record.abs line 44: melm 005        Date/time-last-modified-->
19
  <index_control_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="005">
19
  <index_control_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="005">
20
    <target_index>Date/time-last-modified:w</target_index>
20
    <target_index>Date-time-last-modified:w</target_index>
21
  </index_control_field>
21
  </index_control_field>
22
  <!--record.abs line 45: melm 007        Microform-generation:n:range(data,11,1),Material-type,ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1),ff7-01-02:w:range(data,0,2)-->
22
  <!--record.abs line 45: melm 007        Microform-generation:n:range(data,11,1),Material-type,ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1),ff7-01-02:w:range(data,0,2)-->
23
  <index_control_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="007" offset="11" length="1">
23
  <index_control_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="007" offset="11" length="1">
Lines 58-64 Link Here
58
    <target_index>pubdate:s</target_index>
58
    <target_index>pubdate:s</target_index>
59
  </index_control_field>
59
  </index_control_field>
60
  <index_control_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="008" offset="15" length="3">
60
  <index_control_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="008" offset="15" length="3">
61
    <target_index>pl:w</target_index>
61
    <target_index>Country-publication:w</target_index>
62
  </index_control_field>
62
  </index_control_field>
63
  <index_control_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="008" offset="22" length="1">
63
  <index_control_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="008" offset="22" length="1">
64
    <target_index>ta:w</target_index>
64
    <target_index>ta:w</target_index>
Lines 186-191 Link Here
186
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="041" subfields="e">
186
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="041" subfields="e">
187
    <target_index>ln:w</target_index>
187
    <target_index>ln:w</target_index>
188
  </index_subfields>
188
  </index_subfields>
189
  <!--record.abs line 72: melm 041$e      ln-->
190
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="041" subfields="h">
191
    <target_index>Code-language-original:w</target_index>
192
  </index_subfields>
189
  <!--record.abs line 73: melm 041$j      ln-->
193
  <!--record.abs line 73: melm 041$j      ln-->
190
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="041" subfields="j">
194
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="041" subfields="j">
191
    <target_index>ln:w</target_index>
195
    <target_index>ln:w</target_index>
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (-2 / +9 lines)
Lines 58-64 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
58
    </z:index>
58
    </z:index>
59
  </xslo:template>
59
  </xslo:template>
60
  <xslo:template match="marc:controlfield[@tag='005']">
60
  <xslo:template match="marc:controlfield[@tag='005']">
61
    <z:index name="Date/time-last-modified:w">
61
    <z:index name="Date-time-last-modified:w">
62
      <xslo:value-of select="."/>
62
      <xslo:value-of select="."/>
63
    </z:index>
63
    </z:index>
64
  </xslo:template>
64
  </xslo:template>
Lines 101-107 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
101
    <z:index name="pubdate:s">
101
    <z:index name="pubdate:s">
102
      <xslo:value-of select="substring(., 8, 4)"/>
102
      <xslo:value-of select="substring(., 8, 4)"/>
103
    </z:index>
103
    </z:index>
104
    <z:index name="pl:w">
104
    <z:index name="Country-publication:w">
105
      <xslo:value-of select="substring(., 16, 3)"/>
105
      <xslo:value-of select="substring(., 16, 3)"/>
106
    </z:index>
106
    </z:index>
107
    <z:index name="ta:w">
107
    <z:index name="ta:w">
Lines 179-184 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
179
      </xslo:if>
179
      </xslo:if>
180
    </xslo:for-each>
180
    </xslo:for-each>
181
    <xslo:for-each select="marc:subfield">
181
    <xslo:for-each select="marc:subfield">
182
      <xslo:if test="contains('h', @code)">
183
        <z:index name="Code-language-original:w">
184
          <xslo:value-of select="."/>
185
        </z:index>
186
      </xslo:if>
187
    </xslo:for-each>
188
    <xslo:for-each select="marc:subfield">
182
      <xslo:if test="contains('j', @code)">
189
      <xslo:if test="contains('j', @code)">
183
        <z:index name="ln:w">
190
        <z:index name="ln:w">
184
          <xslo:value-of select="."/>
191
          <xslo:value-of select="."/>
(-)a/etc/zebradb/marc_defs/marc21/biblios/record.abs (-3 / +3 lines)
Lines 49-58 xelm /record/leader llength:w:range(data,0,5),rtype:w:range(data,6,1),Bib-level: Link Here
49
# example: xelm /record/leader l1:w:range(data,0,5),l2:w:range(data,10,2)
49
# example: xelm /record/leader l1:w:range(data,0,5),l2:w:range(data,10,2)
50
50
51
melm 001        Control-number
51
melm 001        Control-number
52
melm 005        Date/time-last-modified
52
melm 005        Date-time-last-modified
53
melm 007        Microform-generation:n:range(data,11,1),Material-type,ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1),ff7-01-02:w:range(data,0,2)
53
melm 007        Microform-generation:n:range(data,11,1),Material-type,ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1),ff7-01-02:w:range(data,0,2)
54
54
55
melm 008        date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),ln:w:range(data,35,3),ctype:w:range(data,24,4),Record-source:w:range(data,39,0)
55
melm 008        date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),Country-publication:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),ln:w:range(data,35,3),ctype:w:range(data,24,4),Record-source:w:range(data,39,0)
56
56
57
melm 010        LC-card-number,Identifier-standard
57
melm 010        LC-card-number,Identifier-standard
58
melm 011        LC-card-number,Identifier-standard
58
melm 011        LC-card-number,Identifier-standard
Lines 78-83 melm 040 Code-institution,Record-source Link Here
78
melm 041$a      ln
78
melm 041$a      ln
79
melm 041$d      ln
79
melm 041$d      ln
80
melm 041$e      ln
80
melm 041$e      ln
81
melm 041$h      Code-language-original
81
melm 041$j      ln
82
melm 041$j      ln
82
melm 043        Code-geographic
83
melm 043        Code-geographic
83
#melm 046       pubdate
84
#melm 046       pubdate
84
- 

Return to bug 8252