-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How get Tree from 0 level ? #241
Comments
We have methods: but they not work together |
Hi, @Dmi3yy! |
One way: add 0 ancestor, without add document with id 0, than we can use descendantsOf(0), easy but not beautiful solution Or add one more method, we stay on this way: |
It seems you partly copied the code from my library, didn't you? |
Yes, all logic from your library. Couldn't integrate as a dependency, so added to the core. |
Some think like that:
Content::descendantsOf(0)->get()->toTree()
I want build menu with 3 level depth.
The text was updated successfully, but these errors were encountered: