Reorderable with descending order

Hi, I have an app with a resource that I want to be reorderable, but with a descending order. I am using the spatie/eloquent-sortable package fot the order_column. In the filament resource file, I have the ->defaultSort('order_column', 'desc') that changes the order when just viewing all the records. Then of course I have the ->reorderable('order_column') on the table as well. Has anyone dealt with the fact that the reorderable uses ascending order? I would like the order to stay the same when viewing and editing the records. Is there some simple workaround?
2 Replies
Philipp Bürger
Philipp Bürger7mo ago
Same problem here
Sindo
Sindo2mo ago
Did you find a solution for this? I'm facing the same issue.
Want results from more Discord servers?
Add your server