Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
fix SectionModel::childrenOf()
Browse files Browse the repository at this point in the history
  • Loading branch information
arrilot committed May 23, 2019
1 parent eaeba72 commit 55fb093
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Models/SectionModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ public function scopeChildrenOf(SectionQuery $query, SectionModel $section)
{
$query->filter['>LEFT_MARGIN'] = $section->fields['LEFT_MARGIN'];
$query->filter['<RIGHT_MARGIN'] = $section->fields['RIGHT_MARGIN'];
$query->filter['>DEPTH_LEVEL'] = $section->fields['DEPTH_LEVEL'];

return $query;
}
Expand Down

0 comments on commit 55fb093

Please sign in to comment.