---- Reported by m.de.rooy@rijksmuseum.nl 2009-10-29 09:30:55 ---- When searching "name=test", the search gives the same results as "test". The same holds for some other fields as notes, keyTitle, etc. This is caused by an erroneous definition in ccl.properties. See below. The first equal sign between name and 1=1002 should not be there. Commenting all of these lines is a fast bug resolver... ################################################### # 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 --- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:14 UTC --- This bug was previously known as _bug_ 3735 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3735 Unknown operating system Windows 2000. Setting to default OS "All". Actual time not defined. Setting to 0.0 CC member jwagner@ptfs.com does not have an account here CC member mjr@ttllp.co.uk does not have an account here
"isbn" is used in Search.pm FindDuplicate. Why isn't it always "nb" ?
I will send a patch with the following proposal after examining zebra configuration files again: First, eliminate first equal sign in the relevant lines of ccl.properties to resolve syntax issue (see first comment). Second, leave name, isbn, issn and notes uncommented. To make this do anything in practice, I have added these four to getIndexes in Search.pm. (Otherwise a user should always type ccl=name=searchterm..) The longer and therefore less attractive fields (keyTitle, etc.) I commented. They did not work until now and will not either. Additional comment: possessingInstitution is not even in bib1.att; genreForm only relates to authority searches. To answer the question Why is it not always nb? Well, this just gives the user more options. Until now, he could type nb= or ISBN=, we just give him the lowercase option isbn= too. Other fields are aliased too.
See http://lists.koha-community.org/pipermail/koha-patches/2010-November/013011.html
Created attachment 2890 [details] [review] Patch file Still valid for 3c19f22f8625105715f9ba5f4fca2b0502bcd9cc. (master Dec 20, 2010)
Created attachment 3343 [details] [review] Signed-off patch
Pushed, please test
Works for me. Thanks for signoff and push.