Bugzilla – Attachment 43679 Details for
Bug 14154
608$9 defined twice in UNIMARC biblio-koha-indexdefs.xml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14154 - 608$9 defined twice in UNIMARC biblio-koha-indexdefs.xml
Bug-14154---6089-defined-twice-in-UNIMARC-biblio-k.patch (text/plain), 2.41 KB, created by
Frédéric Demians
on 2015-10-21 07:24:47 UTC
(
hide
)
Description:
Bug 14154 - 608$9 defined twice in UNIMARC biblio-koha-indexdefs.xml
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2015-10-21 07:24:47 UTC
Size:
2.41 KB
patch
obsolete
>From a4b675aaf0e48364f9d077079e89f2966af33e4e Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 6 May 2015 09:14:42 +0200 >Subject: [PATCH] Bug 14154 - 608$9 defined twice in UNIMARC > biblio-koha-indexdefs.xml > >In DOM config file : >etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml, the 608$9 is >defined a second time instead of 610$9. Just a type I think. > >Test plan : >- Apply patch >- Install a UNIMARC + DOM instance >- Define in a framework 610 using a thesaurus >- Create a new biblio >- Create a new authority (same type as the thesaurus defined above) >- Index : rebuild_zebra.pl -a -b -x -z >- Link the field 610 to the new authority >- Index : rebuild_zebra.pl -a -b -x -z >- In authorities search, search for the new authority >=> You see Use in 1 Records(s) > >Signed-off-by: Frederic Demians <f.demians@tamil.fr> > I confirm the typo. >--- > etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml | 2 +- > etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl | 2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-) > >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 0fc90e5..90e92a0 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >@@ -1269,7 +1269,7 @@ > <target_index>Subject:p</target_index> > </index_data_field> > <!--610 - Free--> >- <index_subfields tag="608" subfields="9"> >+ <index_subfields tag="610" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > <target_index>Koha-Auth-Number:n</target_index> > </index_subfields> >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 c78e459..32e1742 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl >+++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl >@@ -1789,6 +1789,8 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </z:index> > </xslo:if> > </xslo:for-each> >+ </xslo:template> >+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='610']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('9', @code)"> > <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n"> >-- >2.6.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 14154
:
38882
|
43679
|
43683