[Bug 113] "class" does not narrow search
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=113 ------- Additional Comments From vhuhtala@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.
participants (1)
-
bugzilla-daemon@wilbur.katipo.co.nz