[Koha-patches] [PATCH] (bug #3743) fix acquisition stats ordering

Nahuel ANGELINETTI nahuel.angelinetti at biblibre.com
Mon Nov 2 15:55:06 CET 2009


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




More information about the Koha-patches mailing list