Bug 24517: Add missing 6th position to date-entered-on-file index
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Adding the biblio-zebra-indexdefs.xsl on same patch (as should be generated with xsltproc). Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
d6566f41e9
commit
12a986e668
2 changed files with 4 additions and 4 deletions
|
@ -46,10 +46,10 @@
|
|||
<target_index>ff7-01-02:w</target_index>
|
||||
</index_control_field>
|
||||
<!--record.abs line 47: 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)-->
|
||||
<index_control_field tag="008" offset="0" length="5">
|
||||
<index_control_field tag="008" offset="0" length="6">
|
||||
<target_index>date-entered-on-file:n</target_index>
|
||||
</index_control_field>
|
||||
<index_control_field tag="008" offset="0" length="5">
|
||||
<index_control_field tag="008" offset="0" length="6">
|
||||
<target_index>date-entered-on-file:s</target_index>
|
||||
</index_control_field>
|
||||
<index_control_field tag="008" offset="7" length="4">
|
||||
|
|
|
@ -97,10 +97,10 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
|
|||
</xslo:template>
|
||||
<xslo:template match="marc:controlfield[@tag='008']">
|
||||
<z:index name="date-entered-on-file:n">
|
||||
<xslo:value-of select="substring(., 1, 5)"/>
|
||||
<xslo:value-of select="substring(., 1, 6)"/>
|
||||
</z:index>
|
||||
<z:index name="date-entered-on-file:s">
|
||||
<xslo:value-of select="substring(., 1, 5)"/>
|
||||
<xslo:value-of select="substring(., 1, 6)"/>
|
||||
</z:index>
|
||||
<z:index name="pubdate:w">
|
||||
<xslo:value-of select="substring(., 8, 4)"/>
|
||||
|
|
Loading…
Reference in a new issue