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

Sorting of DataView component does not work when filtering is applied #6263

Closed
mlevinem6 opened this issue Aug 7, 2018 · 1 comment
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@mlevinem6
Copy link

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Current behavior
When filtering items on the DataView component, the sorting no longer works. This behavior can be seen in the example at https://www.primefaces.org/primeng/#/dataview
Filter items, then use the sort, and you will see that the sort does not do anything to the filtered items.

Expected behavior
I would expect that filtered items would be sorted when changing sort order/field, like it does in the DataTable component.

What is the motivation / use case for changing the behavior?
When a user filters items, they would expect changes of sorting order/fields to still take effect to the filtered subset.

@mlevinem6
Copy link
Author

I have submitted a PR for this: #6264

@cagataycivici cagataycivici self-assigned this Aug 14, 2018
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Aug 14, 2018
@cagataycivici cagataycivici added this to the 6.1.1 milestone Aug 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants