Disable Laravel Global Scope on List page
Tried using the example in the documentation but it doesn't seem to work.
Anyone has any tip on why this might be happening?
Thanks in advance.
Solution:Jump to solution
https://filamentphp.com/docs/3.x/panels/resources/listing-records#customizing-the-table-eloquent-query
->modifyQueryUsing(fn (Builder $query) => $query->withoutGlobalScopes());
...2 Replies
Solution
https://filamentphp.com/docs/3.x/panels/resources/listing-records#customizing-the-table-eloquent-query
->modifyQueryUsing(fn (Builder $query) => $query->withoutGlobalScopes());
Thank you so much! It worked!