Bugzilla – Attachment 3567 Details for
Bug 5631
Adding EAN/UPC/Music unimarc indexes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed Patch
0001-Bug-5631-MT-2993-add-EAN-PUC-and-Music-Number-indexe.patch (text/plain), 2.64 KB, created by
Chris Cormack
on 2011-03-31 03:02:33 UTC
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-03-31 03:02:33 UTC
Size:
2.64 KB
patch
obsolete
>From abc098808031c79153aeb0c2dc5eafc70074cad0 Mon Sep 17 00:00:00 2001 >From: Henri-Damien LAURENT <henridamien.laurent@biblibre.com> >Date: Mon, 10 May 2010 15:18:30 +0200 >Subject: [PATCH] Bug 5631 : (MT #2993) add EAN, PUC and Music-Number indexes > >This fix add different "music" identifier to zebra indexes, for example it permit search through CDs via EAN. >--- > C4/Search.pm | 3 +++ > etc/zebradb/ccl.properties | 6 ++++++ > etc/zebradb/marc_defs/unimarc/biblios/record.abs | 4 ++++ > 3 files changed, 13 insertions(+), 0 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 35f0166..323a6bf 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -865,6 +865,7 @@ sub getIndexes{ > 'Date-of-acquisition', > 'Date-of-publication', > 'Dewey-classification', >+ 'EAN', > 'extent', > 'fic', > 'fiction', >@@ -902,6 +903,7 @@ sub getIndexes{ > 'mc-rtype', > 'mus', > 'name', >+ 'Music-number', > 'Name-geographic', > 'Name-geographic-heading', > 'Name-geographic-see', >@@ -943,6 +945,7 @@ sub getIndexes{ > 'su-to', > 'su-ut', > 'ut', >+ 'UPC', > 'Term-genre-form', > 'Term-genre-form-heading', > 'Term-genre-form-see', >diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties >index 709410d..8f1c4f5 100644 >--- a/etc/zebradb/ccl.properties >+++ b/etc/zebradb/ccl.properties >@@ -438,6 +438,12 @@ ns ISSN > # > #Identifier-stock 1028 A stock number that could be 037 > # used for ordering the item. >+Identifier-standard 1=1007 4=6 >+ident Identifier-standard >+upc 1=UPC >+ean 1=EAN >+music 1=Music-number >+ > Stock-number 1=1028 > > #Identifier-thematic 1030 The numeric designation for a $n in the following: >diff --git a/etc/zebradb/marc_defs/unimarc/biblios/record.abs b/etc/zebradb/marc_defs/unimarc/biblios/record.abs >index 9406aac..84b3b50 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/record.abs >+++ b/etc/zebradb/marc_defs/unimarc/biblios/record.abs >@@ -39,6 +39,10 @@ melm 011$y ISSN:w,Identifier-standard:w > # wrong ISSN > melm 011$z ISSN:w,Identifier-standard:w > >+melm 071$a Music-number:w,Identifier-standard:w >+melm 072$a UPC:w,Identifier-standard:w >+melm 073$a EAN:w,Identifier-standard:w >+ > melm 200$b itemtype:w,itype:w > melm 995$r itemtype:w,itype:w > >-- >1.7.1 >
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 5631
: 3567