See screenshot above. Table is supposedly sorted by Repartidor column (driver), as indicated by the black dash in the table header, but the results are clearly not sorted.
Column type is set to String.
This seems to be happening non-deterministically: sometimes it works as expected, sometimes it doesn’t.
Some of our employees mentioned they’ve seen this bug in another dashboard while trying to sort this same driver / repartidor column. What’s weird is I couldn’t replicate the bug before and now it seems to be working fine again. I only saw it last night, in both edit and view modes and with column type set to string and default
I looked into this with Will, it looks like setting the column type to String in this case fixes the sorting behavior! The bug previously affected String type columns, but now it looks to have resurfaced just for the Default column type
Hi @alex-w ,
I have an issue with sorting but in my case my column has a mapper on it, i make the Column type to boolean because that's what i want to display, but my original value for the column is a string. When i am sorting it out, i believe the sorting is using the string value not the value i displayed on the table.
Hi Vincent! As a super unhelpful note, mappers are basically just frontend and sorting is backend, so when you sort a table, it sorts based on the true data rather than the mapped data.
Would you be open to converting this data into a boolean in a JS transformer before showing it in the table? That way you could sort the boolean data since the data is coming from the "backend"! Here's a quick example: