FilamentF
Filament3y 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);
}


but it doesnt work on custom page
Was this page helpful?