diff --git a/app/Filament/Widgets/PlayerPropsDrop.php b/app/Filament/Widgets/PlayerPropsDrop.php index 6ccfab9b..2a8612c2 100644 --- a/app/Filament/Widgets/PlayerPropsDrop.php +++ b/app/Filament/Widgets/PlayerPropsDrop.php @@ -679,7 +679,7 @@ class PlayerPropsDrop extends Widget public function prepareLineUp() { - $players = SofaScorePlayerPerSeason::with('details')->where('season', 'total')->where('ss_team_id', $this->team_id)->get(); + $players = SofaScorePlayerPerSeason::with('details')->where('season', 'last_180_days')->where('ss_team_id', $this->team_id)->get(); $arr = collect(); foreach ($players as $value) { if ($value?->details->position ?? 0) {