Order by link weight

Created on 25 July 2017, about 8 years ago
Updated 5 August 2025, 11 days ago

Is it possible to order the menu for a proper render on external applications?
Could be a good idea to use the weight number to sort items.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇦🇷Argentina tpzurdo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇱Netherlands batigolix Utrecht

    Weight is included in the output, so you can use it to order. See for example:

           "link": {
                "id": "menu_link_content:32bd5d0f-0c96-470c-bb17-f30bfd113638",
                "weight": "11",
                "title": "phanecric",
                "description": "Description of phanecric.",
                "menu_name": "main",
                "provider": "menu_link_content",
                "parent": "",
                "enabled": true,
                "expanded": false,

    Feel free to re-open the issue if this does not serve your needs.

Production build 0.71.5 2024