F
Filament8mo ago
Gush

EloquentQuery on CustomPage

Hey, so i do know that in resources you can change the query constraints that show in the resource via
public static function getEloquentQuery(): Builder
{
return parent::getEloquentQuery()->where('is_active', true);
}
public static function getEloquentQuery(): Builder
{
return parent::getEloquentQuery()->where('is_active', true);
}
but it doesnt work on custom page
0 Replies
No replies yetBe the first to reply to this messageJoin