[Koha-patches] [PATCH] (bug #3546) fix issues_stats
Nahuel ANGELINETTI
nahuel.angelinetti at biblibre.com
Mon Aug 24 13:56:52 CEST 2009
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 df848bd..89fd72c 100755
--- a/reports/issues_stats.pl
+++ b/reports/issues_stats.pl
@@ -350,8 +350,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