Skip to content

Commit

Permalink
fix(sharding): typo in addOrderBy
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
  • Loading branch information
Altahrim committed Oct 30, 2024
1 parent 79db082 commit 49bd175
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 49bd175

Please sign in to comment.