Skip to content

Fix menu order 9_adding-navigation.md#2639

Open
plokko wants to merge 1 commit into
area17:3.xfrom
plokko:patch-1
Open

Fix menu order 9_adding-navigation.md#2639
plokko wants to merge 1 commit into
area17:3.xfrom
plokko:patch-1

Conversation

@plokko

@plokko plokko commented Jul 31, 2024

Copy link
Copy Markdown

Description

Related Issues

@CLAassistant

Copy link
Copy Markdown

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

Amiejah commented Feb 2, 2025

Copy link
Copy Markdown

@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