X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_pkg.cgi;h=54bfa00bf9a19dd6c3942c3be349bb23653c190b;hb=9f17681a11d2e20f5baa7acf19873daf33058aa9;hp=32b5a69e8898557bd74e4c6c701fd30250653bf8;hpb=23f2db6452f097640447b9b35dd106f408dbc20b;p=freeside.git diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi index 32b5a69e8..54bfa00bf 100755 --- a/httemplate/search/cust_pkg.cgi +++ b/httemplate/search/cust_pkg.cgi @@ -156,8 +156,8 @@ my %search_hash = (); $search_hash{'query'} = $cgi->keywords; #scalars -for (qw( agentnum cust_main_salesnum salesnum custnum magic status custom - cust_fields pkgbatch +for (qw( agentnum cust_status cust_main_salesnum salesnum custnum magic status + custom cust_fields pkgbatch )) { $search_hash{$_} = $cgi->param($_) if length($cgi->param($_)); @@ -175,6 +175,10 @@ for my $param (qw( censustract censustract2 )) { if grep { $_ eq $param } $cgi->param; } +#location flags (checkboxes) +my @loc = grep /^\w+$/, $cgi->param('loc'); +$search_hash{"location_$_"} = 1 foreach @loc; + my $report_option = $cgi->param('report_option'); $search_hash{report_option} = $report_option if $report_option;