Skip to content

Unable to place as 1st section within CP Nav #12419

@AlexanderFromModus

Description

@AlexanderFromModus

Bug description

Bug description

Image

When trying to place a new section within CP Nav and position it at the top (under Navigation > Dashboard) it shifts to the last index of the CP Nav sections. Other positions work fine!

How to reproduce

→ Navigate to Preferences > CP Nav
→ Select Global Preferences > Default
→ Click Add > Section
→ Set Display (E.g. ⭐ Favourites)
→ Add Item to recently created Section
→ Change the order and drag recently created Section above Content Section
→ Hit save and watch it jump back to the bottom of the CP Nav

Sidenote: Other positions besides top of CP Nav work fine

Logs

Environment

Environment
Application Name: Statamic
Laravel Version: 12.28.1
PHP Version: 8.3.25
Composer Version: 2.8.10
Environment: local
Debug Mode: ENABLED
URL: six.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Storage
C:\Users\alexa\Projects\six\public\storage: NOT LINKED

Statamic
Addons: 0
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.0.0-alpha.6 PRO

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions