Browse Source

classification search

master
chris 22 years ago
parent
commit
f4db081df4
  1. 6
      C4/Search.pm
  2. 2
      search.pl

6
C4/Search.pm

@ -190,7 +190,11 @@ sub CatSearch {
$i++;
}
$query=$query.")";
}
} elsif ($search->{'class'} ne ''){
$query="select count(*) from biblioitems where classification
like '%$search->{'class'}%'";
}
}
}
if ($type eq 'subject'){

2
search.pl

@ -30,6 +30,8 @@ my $isbn=$input->param('isbn');
$search{'isbn'}=$isbn;
my $datebefore=$input->param('date-before');
$search{'date-before'};
my $class=$input->param('class');
$search{'class'}=$class;
my @results;
my $offset=$input->param('offset');
if ($offset eq ''){

Loading…
Cancel
Save