© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•5mo ago•
3 replies
Zlatiborac

Small problems with navigationSort

I want to reorder menu links in the sidebar navigation. Since they are sorted alphabeticaly I used navigationSort as per documentation
protected static ?int $navigationSort = 0;
protected static ?int $navigationSort = 0;

but link I wanted to move stayed on the same place. Only time it moved was if I used negative values.
I've then tried and added navigationSort value for each item in the menu and I was able to reorder the list.
Now, question is was this the correct way of ordering items, and what you do if you have more links? You need to manually add values or is there some other method I didn't found.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Problems with FileUpload
FilamentFFilament / ❓┊help
3y ago
Problems with Modelbinding
FilamentFFilament / ❓┊help
3y ago
Problems with getNavigationItems
FilamentFFilament / ❓┊help
3y ago
Problems with filter
FilamentFFilament / ❓┊help
3y ago