[Koha-patches] [PATCH] (bug #3546) fix issues_stats
Henri-Damien LAURENT
henridamien.laurent at biblibre.com
Wed Aug 26 01:44:34 CEST 2009
From: Nahuel ANGELINETTI <nahuel.angelinetti at biblibre.com>
This fix the order of columns.
---
reports/issues_stats.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/reports/issues_stats.pl b/reports/issues_stats.pl
index cd00424..92cc10d 100755
--- a/reports/issues_stats.pl
+++ b/reports/issues_stats.pl
@@ -337,8 +337,8 @@ sub calculate {
} else {
$colfield = $column;
}
- $colorder = ($colfield =~ /dayname/) ? "weekday($line)" :
- ($colfield =~ /^month/ ) ? " month($line)" : $colfield;
+ $colorder = ($colfield =~ /dayname/) ? "weekday($column)" :
+ ($colfield =~ /^month/ ) ? " month($column)" : $colfield;
my $strsth2 = "SELECT distinctrow $colfield FROM statistics, ";
# get stats on items if ccode or location, otherwise borrowers.
$strsth2 .= ($colsource eq 'items' ) ?
--
1.6.0.4
More information about the Koha-patches
mailing list