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>
(cherry picked from commit
e8de8b97c66a67427f4b458e2c3f3e43ea43d963)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
}
}
$strsth .= " GROUP BY $linefield";
- $strsth .= " ORDER BY $linefield";
+ $strsth .= " ORDER BY $line";
#warn "377:strsth= $strsth";
$strsth2 .= " GROUP BY $colfield";
- $strsth2 .= " ORDER BY $colfield";
+ $strsth2 .= " ORDER BY $column";
my $sth2 = $dbh->prepare($strsth2);