[Koha-devel] [Bug 113] "class" does not narrow search
bugzilla-daemon at wilbur.katipo.co.nz
bugzilla-daemon at wilbur.katipo.co.nz
Sun Oct 27 04:08:02 CET 2002
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=113
------- Additional Comments From vhuhtala at paju.oulu.fi 2002-10-28 01:07 -------
from modules/C4/Search.pm:
sub catalogsearch {
my ($env,$type,$search,$num,$offset)=@_;
my $dbh = C4Connect();
foreach my $key (%$search){
! if (length($search->{$key}) < 3){
undef ($search->{$key});
}
}
changing it to
if (length($search->{$key}) < 1){
helps. Of cource now also one char long title etc. searches are accepted. There
is still a bug somewhere, items with no itemrecord (and group record ?) are also
found when using "class" to narrow search
title=sun
1. JNF Sun and Stars (Barrett, N.S.)
2. <> Sunflakes & snowshine (Newman, F.)
3. JF The Sun (Code-SUN (Asimov, Isaac)
no 2. is found in JF search.
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Koha-devel
mailing list