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

BUG Folder sort incorrect #844

Merged

Conversation

lukereative
Copy link
Contributor

@lukereative lukereative commented Oct 1, 2018

Fixes #820

The folder sorting on FolderTypeCreator was breaking existing sorts passed into it and it was also doing this unnecessarily because $childrenConnection->resolveList ended up resorting them out of this anyway. Additionally the front-end does this splitting of folders and files anyway, but this was unreliable as well so has been made to work consistently.

Related but not dependant PR silverstripe/silverstripe-assets#166

Copy link
Contributor

@robbieaverill robbieaverill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful, works a charm =)

@robbieaverill robbieaverill merged commit 32e0346 into silverstripe:1.2 Oct 3, 2018
@lukereative lukereative deleted the pulls/1.2/sort-it-out branch November 1, 2018 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants