projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e37c42
)
Adding the facility to search on just dewey and class
author
rangi
<rangi>
Fri, 23 Nov 2001 02:12:48 +0000
(
02:12
+0000)
committer
rangi
<rangi>
Fri, 23 Nov 2001 02:12:48 +0000
(
02:12
+0000)
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
6a52090
..
5d3b8ad
100755
(executable)
--- 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