Minor - Switch `sortable()` default behaviour on tables?

Is there a way to switch the default way that sortable() works on a table, when first clicking it seems to do Asc, then the second click does desc. Can that be swapped to be desc first?
1 Reply
Oidt
Oidt7mo ago
https://filamentphp.com/docs/3.x/tables/testing#sorting You can use 'desc' in the second parameter of sortTable() to reverse the sorting direction.
Want results from more Discord servers?
Add your server