[Koha-patches] [PATCH] [SIGNED-OFF] (bug #3743) fix acquisition stats ordering
Owen Leonard
oleonard at myacpl.org
Wed Jan 12 16:08:46 CET 2011
From: Nahuel ANGELINETTI <nahuel.angelinetti at biblibre.com>
This patch fix ordering in acquisition stats to order by month number.
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
---
reports/acquisitions_stats.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/reports/acquisitions_stats.pl b/reports/acquisitions_stats.pl
index 045a423..8220148 100755
--- a/reports/acquisitions_stats.pl
+++ b/reports/acquisitions_stats.pl
@@ -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);
--
1.7.3
More information about the Koha-patches
mailing list