Turbotable - Multisort with null values doesn't quite work correctly #8001
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 multisort is enabled, columns that are sorted with null values return in random order when sorting the column multiple times
Expected behavior
To sort like single sort mode does
I believe this bug is because you're missing an 'else' here: https://github.com/primefaces/primeng/blob/master/src/app/components/table/table.ts#L771
Should be
Like in singlesort. Otherwise the null checking is pretty much ignored.
The text was updated successfully, but these errors were encountered: