fix 477 package links report_option arg, RT#13922
authorivan <ivan>
Thu, 18 Aug 2011 23:16:46 +0000 (23:16 +0000)
committerivan <ivan>
Thu, 18 Aug 2011 23:16:46 +0000 (23:16 +0000)
httemplate/search/477partVI_census.html
httemplate/search/cust_pkg.cgi

index fe224ed..4047901 100755 (executable)
@@ -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;
index 1c34d3b..c4a3e84 100755 (executable)
@@ -184,9 +184,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
@@ -289,7 +288,7 @@ my $html_init = sub {
     $text .= include( '/elements/email-link.html',
                 'search_hash' => \%search_hash,
                 'table'       => 'cust_pkg',
-                );
+                ). '<BR><BR>';
   }
   return $text;
 };