wip StatisticFixtures selection
This commit is contained in:
1 parent
1dbdbcf586
commit
7d76f5bfc5
3 files changed
+12
-9
No files matched your search
@@ -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) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user