Skip to content

Rest API endpoint for menu do not apply menu labels correctly #1993

Description

@sebastianthulin

Summary

Menu labels change incorrectly and menu hierarchy breaks when navigating via Kultur → Sök skolprogram.

Steps to reproduce

  1. Go to Kultur

  2. Click Sök skolprogram

  3. Navigate to another page (e.g. a skolprogram)

Expected

  • Label stays: “Sök skolprogram”

  • Menu structure unchanged

Actual

  • Label becomes: “Sök skolprogram kultur”

  • Back arrow appears

  • Skolprogram pages shown as subpages

Impact

Confusing navigation and incorrect hierarchy.

Notes

Likely issue in REST menu endpoint:

  • Label mapping (menu_item.title vs post.title)

  • Incorrect parent/child resolution

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions