[Koha-patches] [PATCH] (bug #4062) add item index in zebra conf

Nahuel ANGELINETTI nahuel.angelinetti at biblibre.com
Tue Jan 26 17:31:32 CET 2010


This add the "item" index.
---
 C4/Search.pm                     |    1 +
 etc/zebradb/biblios/etc/bib1.att |    1 +
 etc/zebradb/ccl.properties       |    4 ++++
 3 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/C4/Search.pm b/C4/Search.pm
index f5f87fe..39a111f 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -938,6 +938,7 @@ sub getIndexes{
                     'holdingbranch',
                     'homebranch',
                     'issues',
+                    'item',
                     'itemnumber',
                     'itype',
                     'Local-classification',
diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att
index 0f24b0d..dc9f6de 100644
--- a/etc/zebradb/biblios/etc/bib1.att
+++ b/etc/zebradb/biblios/etc/bib1.att
@@ -186,3 +186,4 @@ att 9900    Author-personal-bibliography
 att 9902    Author-in-order
 # Lexile number
 att 9903    lex
+att 9520    Item
diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties
index ea0733a..f4cb267 100644
--- a/etc/zebradb/ccl.properties
+++ b/etc/zebradb/ccl.properties
@@ -1131,3 +1131,7 @@ DateAdded            exp1,1=9
 DateChanged          exp1,1=10
 DateExpires          exp1,1=11
 ElementSetName       exp1,1=12
+
+Item 1=9520
+item Item
+
-- 
1.6.3.3




More information about the Koha-patches mailing list