Jens Keim 5 年 前
コミット
e1c23cc0ee
1 ファイル変更2 行追加1 行削除
  1. 2 1
      code/Core/Statistics.py

+ 2 - 1
code/Core/Statistics.py

@@ -216,7 +216,8 @@ class Statistics:
         :param table_name: the name of the interval statistics table
         :return: a list of tuples, each consisting of (description, values, unit).
         """
-        interval_stats = self.stats_db.process_interval_statistics_query("SELECT * from %s", table_name)
+        interval_stats = self.stats_db.process_interval_statistics_query("SELECT * FROM %s ORDER BY starttimestamp ASC",
+                                                                         table_name)
 
         print(interval_stats)