Bug 3735: Wrong search results for a few fields in ccl.properties
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 17 Mar 2011 14:37:59 +0000 (10:37 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 17 Mar 2011 22:17:24 +0000 (11:17 +1300)
This patch corrects a syntax error in the definition of bath attributes in
ccl.properties. In particular, it adds the search prefixes 'isbn', 'issn',
'name', and 'notes'. In order to make use of this patch, ccl.properties must be
updated.

Signed-off-by: Jared Camins-Esakov <jcamins@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Search.pm
etc/zebradb/ccl.properties

index c486df9..52939bd 100644 (file)
@@ -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',
index e8f124b..709410d 100644 (file)
@@ -1119,19 +1119,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