This patch fix ordering in acquisition stats to order by month number.
---
reports/acquisitions_stats.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/reports/acquisitions_stats.pl b/reports/acquisitions_stats.pl
index 1ce99ff..f9d45d3 100755
--- a/reports/acquisitions_stats.pl
+++ b/reports/acquisitions_stats.pl
@@ -436,7 +436,7 @@ sub calculate {
}
}
$strsth .= " GROUP BY $linefield";
- $strsth .= " ORDER BY $linefield";
+ $strsth .= " ORDER BY $line";
#warn "377:strsth= $strsth";
@@ -549,7 +549,7 @@ sub calculate {
}
}
$strsth2 .= " GROUP BY $colfield";
- $strsth2 .= " ORDER BY $colfield";
+ $strsth2 .= " ORDER BY $column";
# warn "MASON:. $strsth2";
--
1.6.3.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches