Bugzilla – Attachment 38882 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.33 KB, created by
Fridolin Somers
on 2015-05-06 08:36:14 UTC
(
hide
)
Description:
Bug 14154 - 608$9 defined twice in UNIMARC biblio-koha-indexdefs.xml
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2015-05-06 08:36:14 UTC
Size:
2.33 KB
patch
obsolete
>From 3841e147965f66146292af050ea27b2d57aa7d67 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) >--- > 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 85cc089..106870c 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.1.4
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