Lines 35-40
my $resultsperpage = $cgi->param('resultsperpage')||C4::Context->preference("Pat
Link Here
|
35 |
my $category = $cgi->param('category') || undef; |
35 |
my $category = $cgi->param('category') || undef; |
36 |
my $member = $cgi->param('member') || ''; |
36 |
my $member = $cgi->param('member') || ''; |
37 |
my $orderby = $cgi->param('orderby') || undef; |
37 |
my $orderby = $cgi->param('orderby') || undef; |
|
|
38 |
my $not_attributes = $cgi->param('not_attributes') || undef; |
38 |
|
39 |
|
39 |
my @categories=C4::Category->all; |
40 |
my @categories=C4::Category->all; |
40 |
my %categories_display; |
41 |
my %categories_display; |
Lines 72-79
$member =~ s/,//g; #remove any commas from search string
Link Here
|
72 |
$member =~ s/\*/%/g; |
73 |
$member =~ s/\*/%/g; |
73 |
|
74 |
|
74 |
if ($member || $category) { |
75 |
if ($member || $category) { |
75 |
my $results = $category ? Search({''=>$member, categorycode=>$category}, $orderby) |
76 |
my $results = $category ? Search({''=>$member, categorycode=>$category}, $orderby, undef, undef, undef, undef, $not_attributes ) |
76 |
: Search($member, $orderby); |
77 |
: Search($member, $orderby, undef, undef, undef, undef, $not_attributes); |
77 |
my $count = $results ? @$results : 0; |
78 |
my $count = $results ? @$results : 0; |
78 |
|
79 |
|
79 |
my @resultsdata = (); |
80 |
my @resultsdata = (); |
80 |
- |
|
|