aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/graph.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/graph.php b/web/graph.php
index eeafa68..e486f55 100644
--- a/web/graph.php
+++ b/web/graph.php
@@ -9,7 +9,7 @@ $myData = new pData();
$db = new db();
-$sql = "select * from (select sum(status=0) as success,sum(status=1) as failures,sum(status=2) as timeouts,count(*) as total,date(builddate) as day from results group by date(builddate) order by builddate desc limit 180) as foo order by day;";
+$sql = "select * from (select sum(status=0) as success,sum(status=1) as failures,sum(status=2) as timeouts,count(*) as total,date(builddate) as day from results group by date(builddate) order by date(builddate) desc limit 180) as foo order by day;";
$ret = $db->query($sql);
if ($ret == FALSE) {