aimeos opened this issue 2 years ago · 1 comments
We want to retrieve the children of a node for building a menu but restrict the returned children by the status column. How can this be done besides filtering them after retrieval?
status
This seems to do the job: $root->descendants()->where( 'status', 1 )
$root->descendants()->where( 'status', 1 )