Skip to content
This repository was archived by the owner on May 2, 2020. It is now read-only.

Commit a0bad90

Browse files
committed
Order results by creation date for now
1 parent b4272f9 commit a0bad90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Environment/DoctrineEnvironment.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ public function getQueryResults($limit = null)
9393
if (isset($limit)) {
9494
$this->queryBuilder->setMaxResults($limit);
9595
}
96+
97+
$this->queryBuilder->orderBy('a.createdAt', 'ASC');
9698

9799
return $this->queryBuilder->getQuery()->getResult();
98100
}

0 commit comments

Comments
 (0)