From 501cc61c857debfc8602ca361e73b5b13574813b Mon Sep 17 00:00:00 2001 From: rangi Date: Fri, 23 Nov 2001 02:12:48 +0000 Subject: [PATCH] Adding the facility to search on just dewey and class --- C4/Search.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/C4/Search.pm b/C4/Search.pm index 6a52090bd5..5d3b8ad819 100755 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -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 -- 2.39.5