Bugzilla – Attachment 19768 Details for
Bug 9972
Add/ change some zebra indexes (MARC21) (GRS1+DOM)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9972 Follow-up
Bug-9972-Follow-up.patch (text/plain), 3.47 KB, created by
Mirko Tietgen
on 2013-07-18 14:19:30 UTC
(
hide
)
Description:
Bug 9972 Follow-up
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2013-07-18 14:19:30 UTC
Size:
3.47 KB
patch
obsolete
>From b7872ab2d33c34679a2c96bc0a6763082cfcbb27 Mon Sep 17 00:00:00 2001 >From: Mirko Tietgen <mirko@abunchofthings.net> >Date: Thu, 18 Jul 2013 16:18:18 +0200 >Subject: [PATCH] Bug 9972 Follow-up > >Follow-up to correct the mix-up of 653 and 655 in the DOM configuration. >--- > .../marc21/biblios/biblio-koha-indexdefs.xml | 12 ++++++------ > .../marc21/biblios/biblio-zebra-indexdefs.xsl | 4 ++-- > 2 files changed, 8 insertions(+), 8 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 754909f..c1bcdbc 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml >@@ -686,10 +686,10 @@ > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="652" subfields="9"> > <target_index>Koha-Auth-Number:w</target_index> > </index_subfields> >- <!--melm 653$a Index-term-genre --> >+ <!--melm 653$a Index-term-uncontrolled --> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="a"> >- <target_index>Index-term-genre:w</target_index> >- <target_index>Index-term-genre:p</target_index> >+ <target_index>Index-term-uncontrolled:w</target_index> >+ <target_index>Index-term-uncontrolled:p</target_index> > <target_index>Subject:w</target_index> > <target_index>Subject:p</target_index> > </index_subfields> >@@ -711,10 +711,10 @@ > <target_index>Subject:w</target_index> > <target_index>Subject:p</target_index> > </index_data_field> >- <!--melm 655$a Index-term-uncontrolled --> >+ <!--melm 655$a Index-term-genre --> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="a"> >- <target_index>Index-term-uncontrolled:w</target_index> >- <target_index>Index-term-uncontrolled:p</target_index> >+ <target_index>Index-term-genre:w</target_index> >+ <target_index>Index-term-genre:p</target_index> > <target_index>Subject:w</target_index> > <target_index>Subject:p</target_index> > </index_subfields> >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 6cdd4dc..b825f6e 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >+++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >@@ -588,7 +588,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:template mode="index_subfields" match="marc:datafield[@tag='653']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('a', @code)"> >- <z:index name="Index-term-genre:w Index-term-genre:p Subject:w Subject:p"> >+ <z:index name="Index-term-uncontrolled:w Index-term-uncontrolled:p Subject:w Subject:p"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> >@@ -613,7 +613,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:template mode="index_subfields" match="marc:datafield[@tag='655']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('a', @code)"> >- <z:index name="Index-term-uncontrolled:w Index-term-uncontrolled:p Subject:w Subject:p"> >+ <z:index name="Index-term-genre:w Index-term-genre:p Subject:w Subject:p"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> >-- >1.7.2.5
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 9972
:
17126
|
17136
|
17137
|
19768
|
21234
|
22030
|
25762
|
25769
|
26544