From abc098808031c79153aeb0c2dc5eafc70074cad0 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT 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