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.6.10] VDataTable group is not sorted when key is not in header #20045

Open
SystemKeeper opened this issue Jun 22, 2024 · 4 comments · May be fixed by #20077
Open

[Bug Report][3.6.10] VDataTable group is not sorted when key is not in header #20045

SystemKeeper opened this issue Jun 22, 2024 · 4 comments · May be fixed by #20077
Labels
C: VDataTable VDatatable help wanted We are looking for community help T: bug Functionality that does not work as intended/expected

Comments

@SystemKeeper
Copy link

Environment

Vuetify Version: 3.6.10
Vue Version: 3.4.27
Browsers: Chrome 125.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

In the example groupBy is set to the key group with a sort order of desc, but the group is not included in the headers

Expected Behavior

The grouped values are correctly sorted descending

Actual Behavior

Sorting is not applied. It does work however, if the column group is also included in the headers.

Reproduction Link

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

@SystemKeeper
Copy link
Author

Workaround to allow sorting, but hide the column:

{ title: "ABC", key: "abc", align: ' d-none' },

Far from ideal, but works.

@chudson-incomm
Copy link

I am experiencing this issue, and appears to have been introduced in 3.6+.

Issue goes away if you back vuetify down to 3.5.18

@chudson-incomm
Copy link

Curious if there is relation to issue
#20046

@johnleider johnleider added T: bug Functionality that does not work as intended/expected help wanted We are looking for community help C: VDataTable VDatatable and removed S: triage labels Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VDataTable VDatatable help wanted We are looking for community help T: bug Functionality that does not work as intended/expected
3 participants