-
Notifications
You must be signed in to change notification settings - Fork 79
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
Unable to sort by Title when using Fluent Versioned extension #1426
Comments
Please raise this issue in the tractorcow/silverstripe-fluent repository. |
@GuySartorelli Hmmm, I did think about whether this belongs in Fluent module 🤔 Just a quick question here:
|
As a general rule of thumb, if the functionality works fine until a certain piece of functionality in a specific module is applied, the bug should be logged against that module. The only case that isn't true is if you can describe and replicate the bug in more generic ways that don't rely on modules than the one you want to raise the issue against.
Are you talking specifically about If so, the answer is: I have no context to what |
@GuySartorelli Ah okay, that's good to know. I will remember that, thank you :) Sorry was rushing a bit before so didn't give full context, but yes I was referring to FolderTypeResolver::sortChildren(). We overrode the default sortChildren method and instead of using |
Sounds like it, if it resolved the problem. Feel free to raise a pull request and I'll see if I can both reproduce the original bug and see the PR fix that bug. |
Awesome, I will do this later today when I have some time, thanks @GuySartorelli |
PR merged. It'll be automatically tagged by GitHub actions. |
Description:
Sorting by Title (ASC or DESC) will resolve in a error message and files are unable to sort when
TractorCow\Fluent\Extension\FluentVersionedExtension
is added toSilverStripe\Assets\File
You can still sort by
Oldest
andNewest
Removing the extension and sorting will work normally.
Expected behaviour:
Able to sort by Title without receiving errors
Packages:
"name": "silverstripe/asset-admin", "version": "1.13.9",
"name": "tractorcow/silverstripe-fluent", "version": "6.0.0",
"name": "silverstripe/graphql","version": "4.3.5",
PRs
The text was updated successfully, but these errors were encountered: