Bugzilla – Attachment 29605 Details for
Bug 6499
MARC21 035 -- Other-control-number -- Indexing & Matching
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Change zebra index "OCLC-Number" to "Other-control-number"
Change-zebra-index-OCLC-Number-to-Other-control-nu.patch (text/plain), 5.89 KB, created by
Barton Chittenden
on 2014-07-10 14:02:38 UTC
(
hide
)
Description:
Change zebra index "OCLC-Number" to "Other-control-number"
Filename:
MIME Type:
Creator:
Barton Chittenden
Created:
2014-07-10 14:02:38 UTC
Size:
5.89 KB
patch
obsolete
>From 6cad7accf8cae83372d6135ba26b0ba4a1a37aa3 Mon Sep 17 00:00:00 2001 >From: Barton Chittenden <barton@bywatersolutions.com> >Date: Thu, 10 Jul 2014 09:54:56 -0400 >Subject: [PATCH] Change zebra index "OCLC-Number" to "Other-control-number" > >http://bugs.koha-community.org/show_bug.cgi?id=6499 >--- > C4/Search.pm | 2 +- > etc/zebradb/biblios/etc/bib1.att | 3 ++- > etc/zebradb/ccl.properties | 2 +- > .../marc21/biblios/biblio-koha-indexdefs.xml | 12 ++++++------ > .../marc21/biblios/biblio-zebra-indexdefs.xsl | 6 +++--- > etc/zebradb/marc_defs/marc21/biblios/record.abs | 6 +++--- > 6 files changed, 16 insertions(+), 15 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index bc8459c..dbd3e3d 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1021,7 +1021,7 @@ sub getIndexes{ > 'notes', > 'ns', > 'nt', >- 'OCLC-Number', >+ 'Other-control-number', > 'pb', > 'Personal-name', > 'Personal-name-heading', >diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att >index ed8c64b..79cdfc9 100644 >--- a/etc/zebradb/biblios/etc/bib1.att >+++ b/etc/zebradb/biblios/etc/bib1.att >@@ -191,7 +191,8 @@ att 1207 Instruments-total-number > att 1208 Instruments-distint-number > att 1209 Identifier-URN > att 1210 Sears-Subject-Heading >-att 1211 OCLC-Number >+#att 1211 OCLC-Number >+att 1211 Other-control-number > att 1212 Composition > att 1213 Intellectual-level > att 1214 EAN >diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties >index dd2d774..f86f02e 100644 >--- a/etc/zebradb/ccl.properties >+++ b/etc/zebradb/ccl.properties >@@ -363,7 +363,7 @@ Dissertation-information 1=1056 > > > #OCLC Number 1211 OCLC Number MARC21 035 >-OCLC-Number 1=1211 >+Other-control-number 1=1211 > > #EAN 1214 European article number UNIMARC 073 > EAN 1=1214 >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 5166b6b..8461285 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml >@@ -164,17 +164,17 @@ > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="034"> > <target_index>Map-scale:w</target_index> > </index_data_field> >- <!--record.abs line 75: melm 035$a OCLC-Number--> >+ <!--record.abs line 75: melm 035$a Other-control-number--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="035" subfields="a"> >- <target_index>OCLC-Number:w</target_index> >+ <target_index>Other-control-number:w</target_index> > </index_subfields> >- <!--record.abs line 76: melm 035$z OCLC-Number--> >+ <!--record.abs line 76: melm 035$z Other-control-number--> > <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="035" subfields="z"> >- <target_index>OCLC-Number:w</target_index> >+ <target_index>Other-control-number:w</target_index> > </index_subfields> >- <!--record.abs line 77: melm 035 OCLC-Number--> >+ <!--record.abs line 77: melm 035 Other-control-number--> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="035"> >- <target_index>OCLC-Number:w</target_index> >+ <target_index>Other-control-number:w</target_index> > </index_data_field> > <!--record.abs line 78: melm 037 Identifier-standard,Stock-number--> > <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="037"> >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 ae010f7..330df71 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >+++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl >@@ -160,14 +160,14 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > <xslo:template mode="index_subfields" match="marc:datafield[@tag='035']"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('a', @code)"> >- <z:index name="OCLC-Number:w"> >+ <z:index name="Other-control-number:w"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> > </xslo:for-each> > <xslo:for-each select="marc:subfield"> > <xslo:if test="contains('z', @code)"> >- <z:index name="OCLC-Number:w"> >+ <z:index name="Other-control-number:w"> > <xslo:value-of select="."/> > </z:index> > </xslo:if> >@@ -1542,7 +1542,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) > </z:index> > </xslo:template> > <xslo:template mode="index_data_field" match="marc:datafield[@tag='035']"> >- <z:index name="OCLC-Number:w"> >+ <z:index name="Other-control-number:w"> > <xslo:variable name="raw_heading"> > <xslo:for-each select="marc:subfield"> > <xslo:if test="position() > 1"> >diff --git a/etc/zebradb/marc_defs/marc21/biblios/record.abs b/etc/zebradb/marc_defs/marc21/biblios/record.abs >index 37eb295..a9d1172 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/record.abs >+++ b/etc/zebradb/marc_defs/marc21/biblios/record.abs >@@ -72,9 +72,9 @@ melm 028 Identifier-publisher-for-music,Identifier-standard > melm 030 CODEN,Identifier-standard > #melm 033 Date > melm 034 Map-scale >-melm 035$a OCLC-Number >-melm 035$z OCLC-Number >-melm 035 OCLC-Number >+melm 035$a Other-control-number >+melm 035$z Other-control-number >+melm 035 Other-control-number > melm 037 Identifier-standard,Stock-number > melm 040 Code-institution,Record-source > melm 041$a ln,ln-audio:w >-- >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 6499
:
29591
|
29605
|
36104
|
36105
|
39099
|
41710
|
41711