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 Nighswonger <chris.nighswonger@gmail.com>
Tue, 22 Mar 2011 21:31:28 +0000 (17:31 -0400)
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>
(cherry picked from commit 975aea1372de1def413ad02330916942e4160533)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Search.pm
etc/zebradb/ccl.properties

index e8e0124..6ed565a 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 b780925..41d22f9 100644 (file)
@@ -1113,19 +1113,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