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
In the filament resource file, I have the
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?
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?