F
Filament12mo 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
mokhoshOP12mo ago
+1?
Want results from more Discord servers?
Add your server