Closed GhostvOne closed 2 months ago
Filament reorderable start position at 1 and it should be like Filament.
You can take a look here in Filament : filament\tables\src\Concerns\CanReorderRecords.php
foreach ($order as $index => $recordKey) { $this->getTableRecord($recordKey)->{$relationship->getPivotAccessor()}->update([ $orderColumn => $index + 1, ]); }
@saade
Filament reorderable start position at 1 and it should be like Filament.
You can take a look here in Filament : filament\tables\src\Concerns\CanReorderRecords.php