Adding the facility to search on just dewey and class
This commit is contained in:
parent
3e37c422fc
commit
501cc61c85
|
|
@ -485,6 +485,9 @@ sub CatSearch {
|
|||
if ($search->{'illustrator'} ne ''){
|
||||
$query.=" and illus like '%".$search->{'illustrator'}."%' ";
|
||||
}
|
||||
if ($search->{'dewey'} ne ''){
|
||||
$query.=" and biblioitems.dewey like '$search->{'dewey'}%'";
|
||||
}
|
||||
} elsif ($search->{'dewey'} ne ''){
|
||||
$query="select * from biblioitems,biblio
|
||||
where biblio.biblionumber=biblioitems.biblionumber
|
||||
|
|
|
|||
Loading…
Reference in New Issue