F
Filament15mo ago
mokhosh

any way to sort infolist repeatable items by a specific column?

can you modify the query used by infolist repeatable? or maybe modify the state and use collection sort? or a specific method on repeatable? tried this and it doesn't work btw:
->getStateUsing(fn ($record) => $record->states()->latest()->get())
->getStateUsing(fn ($record) => $record->states()->latest()->get())
1 Reply
mokhosh
mokhoshOP15mo ago
+1?

Did you find this page helpful?