diff options
| author | Mark Wells <mark@freeside.biz> | 2013-10-17 19:27:10 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2013-10-17 19:27:10 -0700 |
| commit | c99a171b22bf8776a4ba449aed55e20904c881fa (patch) | |
| tree | 65864b16fdf08297d0d4db78878f2981502d4180 /httemplate/search/cust_pkg.cgi | |
| parent | d32ed470ba0869a4005c0c577b98246c48f8be7d (diff) | |
advanced package report: search by properties of the location object, #23582
Diffstat (limited to 'httemplate/search/cust_pkg.cgi')
| -rwxr-xr-x | httemplate/search/cust_pkg.cgi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi index 995779a46..54bfa00bf 100755 --- a/httemplate/search/cust_pkg.cgi +++ b/httemplate/search/cust_pkg.cgi @@ -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; |
