summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-01-10 06:56:04 +0100
committerJoas Schilling <coding@schilljs.com>2023-01-19 08:26:26 +0100
commit4dcf99034689b6467e2b0b283eda0f3fa194bf02 (patch)
tree0cf349ad239934fc53e74d1bc5b395d82256dec0 /lib
parent001b908c4d7c0e8a1cc3b32fa6dcc3b36bf2d59b (diff)
fix(CI): More sorting for postgres
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Manager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Manager.php b/lib/Manager.php
index 6f68ab02d..4beb0b47c 100644
--- a/lib/Manager.php
+++ b/lib/Manager.php
@@ -788,7 +788,8 @@ class Manager {
$helper->selectRoomsTable($query);
$query->from('talk_rooms', 'r')
->where($query->expr()->eq('r.object_type', $query->createNamedParameter($objectType)))
- ->andWhere($query->expr()->eq('r.object_id', $query->createNamedParameter($objectId)));
+ ->andWhere($query->expr()->eq('r.object_id', $query->createNamedParameter($objectId)))
+ ->orderBy('r.id');
$result = $query->executeQuery();
$row = $result->fetch();