Initial summary changes

This commit is contained in:
Gabriel Baker 2013-06-05 06:23:47 +01:00
commit 76adf14b28
4 changed files with 66 additions and 5 deletions

View file

@ -31,7 +31,7 @@ class BuildStore extends BuildStoreBase
$count = 0;
}
$query = 'SELECT b.* FROM build b LEFT JOIN project p on p.id = b.project_id GROUP BY b.project_id ORDER BY p.title ASC, b.id DESC';
$query = 'SELECT b.* FROM build b LEFT JOIN project p on p.id = b.project_id ORDER BY p.title ASC, b.id DESC';
$stmt = \b8\Database::getConnection('read')->prepare($query);
if ($stmt->execute()) {