[Koha-patches] [PATCH] Analytical records: new zebra index for item number in host fields. This index will be used to display links to analytical records from host records

savitra.sirohi at osslabs.biz savitra.sirohi at osslabs.biz
Thu Dec 9 15:46:43 CET 2010


From: Savitra Sirohi <savitra.sirohi at osslabs.biz>

---
 etc/zebradb/biblios/etc/bib1.att                |    4 +---
 etc/zebradb/ccl.properties                      |    4 ++--
 etc/zebradb/marc_defs/marc21/biblios/record.abs |    6 ++----
 3 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att
index 97c3d68..f88df2c 100644
--- a/etc/zebradb/biblios/etc/bib1.att
+++ b/etc/zebradb/biblios/etc/bib1.att
@@ -158,6 +158,7 @@ att 8031    itype
 ## Fixed Fields and other special indexes
 att 9901    Extent
 att 8910    Koha-Auth-Number
+att 8911	Host-Item-Number
 # record length according to the leader
 att 9905    llength
 att 9902    Summary 
@@ -189,6 +190,3 @@ att 9903    lex
 att 9904    arl
 att 9013    arp
 att 9520    Item
-# Curriculum
-att 9658    curriculum
-
diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties
index 4bca55e..ed18be2 100644
--- a/etc/zebradb/ccl.properties
+++ b/etc/zebradb/ccl.properties
@@ -1052,8 +1052,6 @@ arl 1=9904 r=r
 
 #Accelerated Reader Point
 arp 1=9013 r=r
-# Curriculum
-curriculum 1=9658
 
 ## Statuses
 popularity 1=issues
@@ -1156,3 +1154,5 @@ ElementSetName       exp1,1=12
 Item 1=9520
 item Item
 
+Host-Item-Number 1=8911
+hi Host-Item-Number
diff --git a/etc/zebradb/marc_defs/marc21/biblios/record.abs b/etc/zebradb/marc_defs/marc21/biblios/record.abs
index ed71a93..7a875ab 100755
--- a/etc/zebradb/marc_defs/marc21/biblios/record.abs
+++ b/etc/zebradb/marc_defs/marc21/biblios/record.abs
@@ -44,7 +44,7 @@ melm 001        Control-number
 melm 005        Date/time-last-modified
 melm 007        Microform-generation:n:range(data,11,1),Material-type,ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1),ff7-01-02:w:range(data,0,2)
 
-melm 008        date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),ln:w:range(data,35,3),ctype:w:range(data,24,4),Record-source:w:range(data,39,0)
+melm 008        date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),ln:n:range(data,35,3),ctype:w:range(data,24,4),Record-source:w:range(data,39,0)
 
 melm 010        LC-card-number,Identifier-standard
 melm 011        LC-card-number,Identifier-standard
@@ -188,9 +188,6 @@ melm 656$9      Koha-Auth-Number
 melm 656        Subject
 melm 657$9      Koha-Auth-Number    
 melm 657        Subject
-melm 658$a	curriculum:w,curriculum:p
-melm 658$b	curriculum:w,curriculum:p
-melm 658$c	curriculum:w,curriculum:p
 melm 690$9      Koha-Auth-Number    
 melm 690        Subject,Subject:p
 
@@ -220,6 +217,7 @@ melm 730$r      Music-key
 melm 730$9      Koha-Auth-Number
 melm 730        Title,Title-uniform
 melm 740        Title,Title-other-variant
+melm 773$9	Host-Item-Number
 melm 773$t      Host-item
 melm 780$t      Title
 melm 780        Title,Title-former,Related-periodical
-- 
1.5.4.5



More information about the Koha-patches mailing list