wip
This commit is contained in:
1 parent
ca102d3e51
commit
121a16bd79
4 files changed
+8
-6
No files matched your search
@@ -6,6 +6,7 @@ use App\Models\StatistikoDetail;
|
||||
use App\Models\StatistikoEvent;
|
||||
use App\Models\StatistikoPlayer;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
trait PlayerQuery
|
||||
{
|
||||
@@ -21,10 +22,9 @@ trait PlayerQuery
|
||||
case 'season':
|
||||
if (! $this->season_selected) {
|
||||
$this->season_selected = $this->getCurrentSeason();
|
||||
// dd($this->liga_id, $this->season_selected);
|
||||
}
|
||||
|
||||
// Log::debug('season_selected', [$this->liga_id, $this->season_selected]);
|
||||
Log::debug('season_selected', $this->season_selected);
|
||||
|
||||
$matches_ids = match ($part) {
|
||||
1 => StatistikoEvent::where('league_id', $this->liga_id)
|
||||
|
||||
Reference in new issue
Block a user