Sorting of DataView component does not work when filtering is applied #6263
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
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.
The text was updated successfully, but these errors were encountered: