From 0469e0301d8855ae548eaf16e1eec451e61d969b Mon Sep 17 00:00:00 2001 From: Benjamin Gaussorgues Date: Tue, 29 Oct 2024 11:32:14 +0100 Subject: [PATCH] fix(sharding): typo in addOrderBy Signed-off-by: Benjamin Gaussorgues [skip ci] Signed-off-by: Benjamin Gaussorgues --- lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php b/lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php index e5b66470de08a..4caab8aec15ad 100644 --- a/lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php +++ b/lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php @@ -277,7 +277,7 @@ public function setFirstResult($firstResult) { public function addOrderBy($sort, $order = null) { $this->registerOrder((string)$sort, (string)$order ?? 'ASC'); - return parent::orderBy($sort, $order); + return parent::addOrderBy($sort, $order); } public function orderBy($sort, $order = null) {