(bug #3743) fix acquisition stats ordering

This patch fix ordering in acquisition stats to order by month number.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Nahuel ANGELINETTI 2011-01-12 10:08:46 -05:00 committed by Chris Cormack
parent 2390b4e1dc
commit e8de8b97c6
1 changed files with 2 additions and 2 deletions

View File

@ -432,7 +432,7 @@ sub calculate {
}
}
$strsth .= " GROUP BY $linefield";
$strsth .= " ORDER BY $linefield";
$strsth .= " ORDER BY $line";
#warn "377:strsth= $strsth";
@ -549,7 +549,7 @@ sub calculate {
$strsth2 .= " GROUP BY $colfield";
$strsth2 .= " ORDER BY $colfield";
$strsth2 .= " ORDER BY $column";
my $sth2 = $dbh->prepare($strsth2);