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 Report][3.7.3] v-data-table component overrides the order of the provided items when sorting is applyed #20663

Open
amaieras opened this issue Nov 4, 2024 · 0 comments

Comments

@amaieras
Copy link

amaieras commented Nov 4, 2024

Environment

Vuetify Version: 3.7.3
Vue Version: 3.4.27
Browsers: Chrome 130.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

Click on the Cost column until you sort asc and expand Pools row

Expected Behavior

Since sort-by prop was not passed, the order of the displayed data should be given by the order in the items array

Actual Behavior

Doing a custom sort inside the filteredItems, parent - children sorting (parent first then its children sorted then another parent and so on) because internal sorting of the v-data-table is applied the order dispalyed in the table is different than the one returned by the filteredItems even though sort-by prop was not passed to v-data-table

Reproduction Link

https://play.vuetifyjs.com/#...

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

No branches or pull requests

1 participant