Filament Tenancy Help
I have a DocumentResource in an app with tenancy. The document can be associated with a Team ID or it can be null to represent a document that can be accessed by all Teams.
How would I then modify the query for the filament table to return the null records on top of the default view which is shown based on current tenancy.
I tried the following thinking I was a Laravel genius but of course this doesn't work when filters are applied.
Would appreciate any help.
How would I then modify the query for the filament table to return the null records on top of the default view which is shown based on current tenancy.
I tried the following thinking I was a Laravel genius but of course this doesn't work when filters are applied.
Would appreciate any help.