Bugzilla – Attachment 25768 Details for
Bug 11130
Change pl Place-publication index for Marc21
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11130 Change pl Place-publication index for Marc21
Bug-11130-Change-pl-Place-publication-index-for-Ma.patch (text/plain), 3.33 KB, created by
Mirko Tietgen
on 2014-03-03 15:50:54 UTC
(
hide
)
Description:
Bug 11130 Change pl Place-publication index for Marc21
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2014-03-03 15:50:54 UTC
Size:
3.33 KB
patch
obsolete
>From 9098871e88a19e3160a8959279b4cae82c265f21 Mon Sep 17 00:00:00 2001 >From: Mirko Tietgen <mirko@abunchofthings.net> >Date: Thu, 24 Oct 2013 13:57:36 +0200 >Subject: [PATCH] Bug 11130 Change pl Place-publication index for Marc21 > >According to ccl.properties, the pl Place-publication index is supposed to include 008/15-17 and 260$a. In record.abs, we have the index include all 260 fields. This patch removes the index for the whole field 260, leaving only $a (and 008/15-17). > >11130 follow-up: DOM indexing >--- > .../marc21/biblios/biblio-koha-indexdefs.xml | 4 ---- > .../marc21/biblios/biblio-zebra-indexdefs.xsl | 13 ------------- > etc/zebradb/marc_defs/marc21/biblios/record.abs | 1 - > 3 files changed, 0 insertions(+), 18 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 5ddbb62..3e36a65 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml >@@ -424,10 +424,6 @@ > <target_index>copydate:w</target_index> > <target_index>copydate:s</target_index> > </index_subfields> >- <!--record.abs line 122: melm 260 pl--> >- <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="260"> >- <target_index>pl:w</target_index> >- </index_data_field> > <!--record.abs line 123: melm 300 Extent:w,Extent:p--> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="300"> > <target_index>Extent:w</target_index> >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 2ca3dbb..df14387 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >+++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >@@ -1823,19 +1823,6 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:value-of select="normalize-space($raw_heading)"/> > </z:index> > </xslo:template> >- <xslo:template mode="index_data_field" match="marc:datafield[@tag='260']"> >- <z:index name="pl:w"> >- <xslo:variable name="raw_heading"> >- <xslo:for-each select="marc:subfield"> >- <xslo:if test="position() > 1"> >- <xslo:value-of select="substring(' ', 1, 1)"/> >- </xslo:if> >- <xslo:value-of select="."/> >- </xslo:for-each> >- </xslo:variable> >- <xslo:value-of select="normalize-space($raw_heading)"/> >- </z:index> >- </xslo:template> > <xslo:template mode="index_data_field" match="marc:datafield[@tag='300']"> > <z:index name="Extent:w Extent:p"> > <xslo:variable name="raw_heading"> >diff --git a/etc/zebradb/marc_defs/marc21/biblios/record.abs b/etc/zebradb/marc_defs/marc21/biblios/record.abs >index e867cec..6b9a3d4 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/record.abs >+++ b/etc/zebradb/marc_defs/marc21/biblios/record.abs >@@ -128,7 +128,6 @@ melm 247 Title,Title:p,Title-former,Title-other-variant,Related-periodica > melm 260$a pl:w,pl:p > melm 260$b Publisher:w,Publisher:p > melm 260$c copydate,copydate:s >-melm 260 pl > melm 300 Extent:w,Extent:p > melm 400$a Name-and-title > melm 400$t Author-title,Name-and-title,Title,Title-series >-- >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 11130
:
22356
| 25768