(bug #3546) fix issues_stats
This fix the order of columns. Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This commit is contained in:
parent
f9ef9de6c1
commit
75b5e00152
|
|
@ -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' ) ?
|
||||
|
|
|
|||
Loading…
Reference in New Issue