Skip to content

Conversation

plokko
Copy link

@plokko plokko commented Jul 31, 2024

Description

Related Issues

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@Amiejah
Copy link

Amiejah commented Feb 2, 2025

@plokko Not sure if this PR is going to be picked up, but I believe that if any ordering method etc is missing we should add it to the HasPosition trait.

The MenuLink uses the HasPosition trait and this contains a scopeOrdered() method. So you could do something like:

MenuLink::published()->ordered()->get()->toTree()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants