[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] [Bug 113] "class" does not narrow search
From: |
bugzilla-daemon |
Subject: |
[Koha-devel] [Bug 113] "class" does not narrow search |
Date: |
Sun Oct 27 04:08:02 2002 |
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=113
------- Additional Comments From address@hidden 2002-10-28 01:07 -------
from modules/C4/Search.pm:
sub catalogsearch {
my ($env,$type,$search,$num,$offset)address@hidden;
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.