From 91c4cd069e0b13778c7323f27a390a3c1ef9b4b8 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 15 Nov 2010 13:58:04 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 3735: Wrong search results for a few fields in ccl.properties Content-Type: text/plain; charset="utf-8" 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 --- 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 c486df9..52939bd 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 e8f124b..709410d 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 -- 1.7.2.3