Modify the initial query when loading a table
In a Table is it possible to modify the initial query? In my case I want to only show Orders with sent = true; I don't want to see the other orders in this view.
Can I change the query on what the table is based?
Can I change the query on what the table is based?
Solution
https://filamentphp.com/docs/3.x/panels/resources/getting-started#customizing-the-resource-eloquent-query I think this is what you are looking for.