From 8ef619bf74fec6654776f90f15ffe94996b6cf15 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Mon, 24 Aug 2009 13:56:52 +0200 Subject: [PATCH] (bug #3546) fix issues_stats This fix the order of columns. Signed-off-by: Galen Charlton --- reports/issues_stats.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reports/issues_stats.pl b/reports/issues_stats.pl index cd004245b3..92cc10dfb7 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' ) ? -- 2.39.5