X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_pkg.cgi;h=297edee90b6622c8960e9d7086cb1640f7e3df3a;hb=ea3ce8d7f076e7fecff4be7ae63bc413adb0adf5;hp=f0408e48925c1f94ce8590a4d3f2bef56b416dcb;hpb=ad927cf5dffe32101954ec0d97825313a546443c;p=freeside.git diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi index f0408e489..297edee90 100755 --- a/httemplate/search/cust_pkg.cgi +++ b/httemplate/search/cust_pkg.cgi @@ -161,9 +161,12 @@ for my $param (qw( censustract censustract2 )) { if grep { $_ eq $param } $cgi->param; } -my @report_option = $cgi->param('report_option') - if $cgi->param('report_option'); -$search_hash{report_option} = join(',', @report_option) if @report_option; +my $report_option = $cgi->param('report_option'); +$search_hash{report_option} = $report_option if $report_option; + +for my $param (grep /^report_option_any/, $cgi->param) { + $search_hash{$param} = $cgi->param($param); +} ### # parse dates @@ -249,7 +252,7 @@ my $html_init = sub { $text .= include( '/elements/email-link.html', 'search_hash' => \%search_hash, 'table' => 'cust_pkg', - ); + ). '

'; } return $text; };