Skip to content

Commit a2998f3

Browse files
committed
refactor: Remove unnecessary ordering by lft attribute in query.
1 parent 595f12f commit a2998f3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/NestedSetsBehavior.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,6 @@ public function children(int|null $depth = null): ActiveQuery
495495
$depth !== null ? $this->getDepthValue() : null,
496496
$depth,
497497
),
498-
)->addOrderBy(
499-
[
500-
$this->leftAttribute => SORT_ASC,
501-
],
502498
);
503499
}
504500

0 commit comments

Comments
 (0)