From 975aea1372de1def413ad02330916942e4160533 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 17 Mar 2011 10:37:59 -0400 Subject: [PATCH] Bug 3735: Wrong search results for a few fields in ccl.properties 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 Signed-off-by: Chris Cormack --- 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 c486df9115..52939bd65b 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 e8f124bdd3..709410d566 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -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 -- 2.20.1