Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation items aren't sorted alphabetically #315

Open
allanchau opened this issue Jul 14, 2021 · 0 comments
Open

Navigation items aren't sorted alphabetically #315

allanchau opened this issue Jul 14, 2021 · 0 comments

Comments

@allanchau
Copy link
Contributor

Describe the bug
Linz navigation items aren't sorted alphabetically, instead they are sorted by the name of the model.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new model test with the model title a.
  2. Create another model anotherTest with the model title b.
  3. Start the project and the side nav (probably the models/list route too?) should show b before a.

Expected behavior
The navigation items should be ordered via the displayed name instead of the model name.

Screenshots
image

Additional context
I think we just need a sort function here

filteredNavigation.forEach(function (navigationItem) {

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

No branches or pull requests

1 participant