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

Collections placed in a folder are alpha-sorted instead of order specified in Data Model list #8983

Closed
3 tasks done
bcartier opened this issue Oct 20, 2021 · 1 comment · Fixed by #9002
Closed
3 tasks done
Assignees
Labels

Comments

@bcartier
Copy link

Preflight Checklist

Describe the Bug

Manually changing the order in which collections appear via drag-and-drop works well, but if you create a folder and place collections inside, those collections are sorted alphabetically, not according to how you configure them in the drag-and-drop interface.

To Reproduce

  1. Go to Settings > Data Model
  2. Create a folder
  3. Add more than one collection to the folder
  4. Sort the collections via drag and drop
  5. Visit the Collections module
  6. Expand the folder to show nested collections
  7. The collections appear in alphabetical order

Errors Shown

None

What version of Directus are you using?

v9.0.0-rc.98

What version of Node.js are you using?

14.18

What database are you using?

MySQL

What browser are you using?

Chrome 94.0.4606.81

What operating system are you using?

MacOS 11.6

How are you deploying Directus?

Docker via Rancher

@bcartier
Copy link
Author

Configuration:
data-model-config

Display:
collections

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants