From 75b5e001528ea3fd282898d75ab2958e2a556a8d Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Mon, 24 Aug 2009 13:56:15 +0200 Subject: [PATCH] (bug #3546) fix issues_stats This fix the order of columns. Signed-off-by: Henri-Damien LAURENT --- 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 09842bafb5..add5ad4033 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' ) ?