From af87cabec24d6607d05917adb307bcfdd51db639 Mon Sep 17 00:00:00 2001 From: Mirko Tietgen Date: Tue, 2 Apr 2013 15:03:53 +0200 Subject: [PATCH] 9972 Add/ change some zebra indexes (MARC21) (GRS1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch adds :w and :p versions to the index for »Lexile number« (it has only :n so far) and adds indexes for 653$a (Index term uncontrolled) and 655$a (Index term Genre/Form). It also adds the »curriculum«-index to Search.pm. --- C4/Search.pm | 4 ++++ etc/zebradb/biblios/etc/bib1.att | 2 ++ etc/zebradb/ccl.properties | 6 ++++++ etc/zebradb/marc_defs/marc21/biblios/record.abs | 4 +++- 4 files changed, 15 insertions(+), 1 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index d4ce9fb..7f942a9 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -953,6 +953,7 @@ sub getIndexes{ 'Corporate-name-see', 'Corporate-name-seealso', 'ctype', + 'curriculum', 'date-entered-on-file', 'Date-of-acquisition', 'Date-of-publication', @@ -972,6 +973,8 @@ sub getIndexes{ 'Host-item', 'id-other', 'Illustration-code', + 'Index-term-genre', + 'Index-term-uncontrolled', 'ISBN', 'isbn', 'ISSN', @@ -984,6 +987,7 @@ sub getIndexes{ 'lc-card', 'LC-card-number', 'lcn', + 'lex', 'llength', 'ln', 'Local-classification', diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att index b2c38c4..43607f6 100644 --- a/etc/zebradb/biblios/etc/bib1.att +++ b/etc/zebradb/biblios/etc/bib1.att @@ -291,3 +291,5 @@ att 9013 arp att 9520 Item # Curriculum att 9658 curriculum +att 9653 Index-term-uncontrolled +att 9655 Index-term-genre diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties index a5de010..6db5702 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -1173,3 +1173,9 @@ item Item Host-Item-Number 1=8911 hi Host-Item-Number + +Index-term-uncontrolled 1=9653 +itu Index-term-uncontrolled + +Index-term-genre 1=9655 +itg Index-term-genre diff --git a/etc/zebradb/marc_defs/marc21/biblios/record.abs b/etc/zebradb/marc_defs/marc21/biblios/record.abs index 5ff08f4..69a586e 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/record.abs +++ b/etc/zebradb/marc_defs/marc21/biblios/record.abs @@ -158,7 +158,7 @@ melm 505$t Title melm 505 Note:w,Note:p melm 510 Indexed-by melm 520 Abstract:w,Abstract:p -melm 521$a lex:n +melm 521$a lex:w,lex:p,lex:n melm 526$c arl,arl:n melm 526$d arp,arp:n #melm 533$d pubdate,pubdate:s @@ -188,10 +188,12 @@ melm 651$9 Koha-Auth-Number melm 651 Name-geographic,Subject,Subject:p melm 652$9 Koha-Auth-Number #melm 652 subject-heading,subject-heading:p +melm 653$a Index-term-uncontrolled:w,Index-term-uncontrolled:p,Subject,Subject:p melm 653$9 Koha-Auth-Number melm 653 Subject,Subject:p melm 654$9 Koha-Auth-Number melm 654 Subject,Subject:p +melm 655$a Index-term-genre:w,Index-term-genre:p,Subject,Subject:p melm 655$9 Koha-Auth-Number melm 655 Subject,Subject:p melm 656$9 Koha-Auth-Number -- 1.7.2.5