[Koha-patches] [PATCH] Bug 3735 (Wrong search results for a few fields in ccl.properties)

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Mon Nov 15 14:02:19 CET 2010


Eliminating syntax errors from ccl.properties. Adding four indexes to Search.pm, commenting out the remaining bath atts. 
---
 C4/Search.pm               |    4 ++++
 etc/zebradb/ccl.properties |   27 ++++++++++++++-------------
 2 files changed, 18 insertions(+), 13 deletions(-)

diff --git a/C4/Search.pm b/C4/Search.pm
index d36459a..3247d31 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -855,7 +855,9 @@ sub getIndexes{
                     'id-other',
                     'Illustration-code',
                     'ISBN',
+                    'isbn',
                     'ISSN',
+                    'issn',
                     'itemtype',
                     'kw',
                     'Koha-Auth-Number',
@@ -874,12 +876,14 @@ sub getIndexes{
                     'mc-itemtype',
                     'mc-rtype',
                     'mus',
+                    'name',
                     'Name-geographic',
                     'Name-geographic-heading',
                     'Name-geographic-see',
                     'Name-geographic-seealso',
                     'nb',
                     'Note',
+                    'notes',
                     'ns',
                     'nt',
                     'pb',
diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties
index 4bca55e..18c3b69 100644
--- a/etc/zebradb/ccl.properties
+++ b/etc/zebradb/ccl.properties
@@ -1115,19 +1115,20 @@ sort3 7=3
 
 ###################################################
 # Rules for a few bath atts
-keyTitle         = 1=33
-possessingInstitution    = 1=1044
-name             = 1=1002
-personalName     = 1=1
-corporateName    = 1=2
-conferenceName   = 1=3
-uniformTitle     = 1=6
-isbn             = 1=7
-issn             = 1=8
-geographicName   = 1=58
-notes            = 1=63
-topicalSubject   = 1=1079
-genreForm        = 1=1075
+# For recent changes in this section, see Bugzilla #3735
+#keyTitle 1=33
+#possessingInstitution 1=1044
+name 1=1002
+#personalName 1=1
+#corporateName 1=2
+#conferenceName 1=3
+#uniformTitle 1=6
+isbn 1=7
+issn 1=8
+#geographicName 1=58
+notes 1=63
+#topicalSubject 1=1079
+#genreForm 1=1075
 
 ###################################################
 # Rules for a few GILS fields
-- 
1.6.0.6



More information about the Koha-patches mailing list