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

Dynamic Dataset.groupby causes wrong sorting #2641

Closed
philippjfr opened this issue May 1, 2018 · 3 comments
Closed

Dynamic Dataset.groupby causes wrong sorting #2641

philippjfr opened this issue May 1, 2018 · 3 comments
Labels
tag: component: data type: bug Something isn't correct or isn't working
Milestone

Comments

@philippjfr
Copy link
Member

When using groupby on a Dataset with dynamic=True it queries the data for the unique values along the grouped dimension and then sets Dimension.values. If these values are unsorted the widgets will not behave correctly in two separate ways: 1) It will initialize on the wrong frame and 2) when updating it will do so on the unsorted keys, resulting in the wrong frame being displayed.

@philippjfr philippjfr added type: bug Something isn't correct or isn't working tag: component: data labels May 1, 2018
@philippjfr philippjfr added this to the v1.10.3 milestone May 1, 2018
@jlstevens
Copy link
Contributor

Is this just a matter of sorting things at the widget level?

@philippjfr
Copy link
Member Author

Is this just a matter of sorting things at the widget level?

That's a partial fix (i.e. for issue 2 above), but it still initializes on the wrong frame.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tag: component: data type: bug Something isn't correct or isn't working
Projects
None yet
Development

No branches or pull requests

2 participants