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 29, 2024
1 parent 2895767 commit cb83cef
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 cb83cef

Please sign in to comment.