F
Filament8mo ago
Awndre

Disable Laravel Global Scope on List page

Tried using the example in the documentation but it doesn't seem to work.
public static function getEloquentQuery(): Builder
{
return parent::getEloquentQuery()->withoutGlobalScopes();
}
public static function getEloquentQuery(): Builder
{
return parent::getEloquentQuery()->withoutGlobalScopes();
}
Anyone has any tip on why this might be happening? Thanks in advance.
2 Replies
Awndre
AwndreOP8mo ago
Thank you so much! It worked!
Want results from more Discord servers?
Add your server