laravel-nestedset
laravel-nestedset copied to clipboard
How can I get only active records from categiries?
If I try to get only active records, the tree don't builds properly. For example: Category::where(is_active, 1)->get()->toTree();
Please help somebody!