Pre processing listed records of a resource
I have create a resource which is based on a Page model. I want to show the pages in their parent child hierarchy. I have found next solution to do so in regular Laravel. But can not find the correct way to do this so I can use it in a Filament list of resources. Optionally I want to allow the filament sorting options within the hierarchy sorting:
1 Reply
Acyually found a document describing what I was lookuing for: https://v2.filamentphp.com/tricks/nested-records-in-a-table
Filament
Nested records in a table by Leonid - Tricks - Filament
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.