Bugzilla – Attachment 152621 Details for
Bug 24517
Zebra: date-entered-on-file misses 6th position
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24517: Add missing 6th position to date-entered-on-file index
Bug-24517-Add-missing-6th-position-to-date-entered.patch (text/plain), 2.84 KB, created by
Marcel de Rooy
on 2023-06-23 08:02:52 UTC
(
hide
)
Description:
Bug 24517: Add missing 6th position to date-entered-on-file index
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-06-23 08:02:52 UTC
Size:
2.84 KB
patch
obsolete
>From 37ca93318f70982ae10780c58dbf5c325ad08416 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Wed, 7 Jun 2023 03:13:24 +0000 >Subject: [PATCH] Bug 24517: Add missing 6th position to date-entered-on-file > index >Content-Type: text/plain; charset=utf-8 > >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). >--- > .../marc_defs/marc21/biblios/biblio-koha-indexdefs.xml | 4 ++-- > .../marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml >index 9d660b7fd6..e2ab9205ca 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml >@@ -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"> >diff --git a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >index c5a0fed4b4..c540d485f3 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >+++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >@@ -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)"/> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24517
:
152071
|
152072
|
152223
|
152224
| 152621