'url' => $opt{url} || '',
'xml_row_element' => 'Datarow',
'really_disable_download' => 1,
-
+ 'filename' => $opt{filename},
&>
<%init>
($report_option ? ( 'report_option' => $report_option ) : () ),
}
);
-warn Dumper($sql_query) if $rowcount==1 and $columncount==3;
my $extracolumns = "$rowcount AS upload, $columncount AS download, $tech_code as technology_code";
my $percent = "CASE WHEN count(*) > 0 THEN 100-100*cast(count(cust_main.company) as numeric)/cast(count(*) as numeric) ELSE cast(0 as numeric) END AS residential";
$sql_query->{select} = "count(*) AS quantity, $extracolumns, cust_location.censustract, $percent";