wip StatisticFixtures selection

This commit is contained in:
salam committed 2026-08-14 19:52:09 +02:00
1 parent 1dbdbcf586
commit 7d76f5bfc5
3 files changed
+12 -9

No files matched your search

+3 -2
View File
@@ -121,10 +121,11 @@ class LoadEvents
}
}
$match = StatisticFixtures::where('id', $match_id)->first();
/**
* STATTISTIC DATA
*/
$res = LoadEventsQuery::load($filter, $matches_played, $handicap_range, $total_range);
$res = LoadEventsQuery::load($filter, $matches_played, $handicap_range, $total_range, $match);
$dataset_home = [];
$dataset_away = [];
@@ -143,7 +144,7 @@ class LoadEvents
return [];
}
$expectations = LoadExpectations::load($res['all'], $match_id, $statistic_type);
$expectations = LoadExpectations::load($res['all'], $match, $statistic_type);
foreach ($res[$team_position] as $value) {