-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
fix(VDataTable): support groupBy when sorting is disabled #20047
Conversation
I don’t think the condition is correct now, it should depend on group by, see the original fix for vuetify2 #13027 |
Thank you for the reminder. You are right. I oversimplified the issue. I will also try to restore the unit tests simultaneously. |
Just tested this change to see if it fixed an issue where sort-by overrides the group by order. This change does restore group by sort by to respect each other properly! Yay!!! |
a390916
to
ad8e1f0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting way to check expected values from items array against nth child value in an anonymous function like that. When we do e2e tests we actually just use a constant and check the first/last value after sorting. May have to steal that syntax and write some component tests in our cypress test suite.
This looks good to me.
Description
fixes #20046
Markup: