filament/filament
v3.2.117
v11.29.0
v3.5.12
PHP 8.2.22
Problem related to using Spatie's SortableTrait in the project
When we set the reorderable() parameter for the table and when we need the records on the page to appear in descending order, we cannot correctly set the order for the items in the reorder view.
I hope it sounds somewhat understandable ;)
Unfortunately, I did not find a solution to this problem in the table configuration options in the resource class.
I have a certain solution to this problem, here is a link to the repository:
https://github.com/naturalGroove/filament/tree/add-more-reorderable-configuration
Ability to display records in descending order in the reorder view and correctly save the order in the database.
Install the repository below and try to reorder Posts.
Make sure to:
migrate + seed database
login using email - pw:
[email protected] - test
https://github.com/naturalGroove/filament-reorderable-when-order-is-desc
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too