summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2011-08-18 23:16:44 +0000
committerivan <ivan>2011-08-18 23:16:44 +0000
commitaffa8752dbe311130e0777d0368ba3fde8438641 (patch)
treea176360e16358f3029f85dcadcbb01c8bdbd8e78 /httemplate
parent7eacf77ffb9982f7048e4b73ecd9ca99901ae46a (diff)
fix 477 package links report_option arg, RT#13922
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/search/477partVI_census.html1
-rwxr-xr-xhttemplate/search/cust_pkg.cgi7
2 files changed, 4 insertions, 4 deletions
diff --git a/httemplate/search/477partVI_census.html b/httemplate/search/477partVI_census.html
index fe224edba..404790112 100755
--- a/httemplate/search/477partVI_census.html
+++ b/httemplate/search/477partVI_census.html
@@ -147,6 +147,7 @@ my $link_suffix = sub { my $row = shift;
my @ro = grep $_,
@row_option[$row->upload - 1],
@column_option[$row->download - 1],
+ @technology_option[$row->technology_code - 1],
;
$result .= 'report_option='. join(',',@ro) if @ro;
$result;
diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi
index f0408e489..b061b178f 100755
--- a/httemplate/search/cust_pkg.cgi
+++ b/httemplate/search/cust_pkg.cgi
@@ -161,9 +161,8 @@ 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;
###
# parse dates
@@ -249,7 +248,7 @@ my $html_init = sub {
$text .= include( '/elements/email-link.html',
'search_hash' => \%search_hash,
'table' => 'cust_pkg',
- );
+ ). '<BR><BR>';
}
return $text;
};