Author combined with Title search was not searching the series title field

Fixed now
This commit is contained in:
rangi 2001-11-25 22:25:55 +00:00
parent 79ebd030d6
commit 7a7465fe05
1 changed files with 2 additions and 1 deletions

View File

@ -398,7 +398,8 @@ sub CatSearch {
}
$query=$query.")";
if ($search->{'title'} ne ''){
$query=$query. " and title like '%$search->{'title'}%'";
$query=$query. " and (title like '%$search->{'title'}%'
or seriestitle like '%$search->{'title'}%')";
}
if ($search->{'class'} ne ''){
my @temp=split(/\|/,$search->{'class'});