Bugzilla – Attachment 141761 Details for
Bug 31756
Biblionumber not numerically sorting natively when using Zebra
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31756: Undo zeropad workaround for Local-Number:s for UNIMARC
Bug-31756-Undo-zeropad-workaround-for-Local-Number.patch (text/plain), 1.80 KB, created by
David Cook
on 2022-10-13 00:08:01 UTC
(
hide
)
Description:
Bug 31756: Undo zeropad workaround for Local-Number:s for UNIMARC
Filename:
MIME Type:
Creator:
David Cook
Created:
2022-10-13 00:08:01 UTC
Size:
1.80 KB
patch
obsolete
>From e307ad7a26ee9091f6e6f6f42c061d736c0317f3 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Thu, 13 Oct 2022 11:04:54 +1100 >Subject: [PATCH] Bug 31756: Undo zeropad workaround for Local-Number:s for > UNIMARC > >--- > etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml | 2 +- > .../marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >index 5425bc2ba6..a499e4393a 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >@@ -9,7 +9,7 @@ > <index_control_field tag="001"> > <target_index>Local-number:n</target_index> > </index_control_field> >- <index_control_field tag="001" zeropad="1"> >+ <index_control_field tag="001"> > <target_index>Local-number:s</target_index> > </index_control_field> > <!--record.abs line 26: melm 009 Identifier-standard:w,Identifier-standard:n--> >diff --git a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl >index 22d902c461..ebfa415456 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl >+++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl >@@ -52,7 +52,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="."/> > </z:index> > <z:index name="Local-number:s"> >- <xslo:value-of select="format-number(.,"00000000000")"/> >+ <xslo:value-of select="."/> > </z:index> > </xslo:template> > <xslo:template match="marc:controlfield[@tag='009']"> >-- >2.35.3
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 31756
:
141759
|
141760
| 141761