This commit is contained in:
salam committed 2026-11-01 17:56:06 +01:00
1 parent 4d8ae84ab7
commit 60aad552fa
1 file changed
+3
+3
View File
@@ -5,6 +5,7 @@ namespace App\Traits\PlayerProps;
use App\Models\StatistikoDetail; use App\Models\StatistikoDetail;
use App\Models\StatistikoPlayer; use App\Models\StatistikoPlayer;
use Illuminate\Support\Carbon; use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Log;
trait PlayerQuery trait PlayerQuery
{ {
@@ -190,6 +191,8 @@ trait PlayerQuery
$this->season_selected = array_map('strval', $this->season_selected); $this->season_selected = array_map('strval', $this->season_selected);
} }
Log::debug('season_selected', $this->season_selected);
return match ($part) { return match ($part) {
1 => StatistikoPlayer::with('details') 1 => StatistikoPlayer::with('details')
->whereIn('ss_player_id', $player_ids) ->whereIn('ss_player_id', $player_ids)