EloquentQuery on CustomPage
Hey, so i do know that in resources you can change the query constraints that show in the resource via
but it doesnt work on custom page
but it doesnt work on custom page
public static function getEloquentQuery(): Builder
{
return parent::getEloquentQuery()->where('is_active', true);
}