wiip
This commit is contained in:
1 parent
82f3654a05
commit
be4a08982e
8 files changed
+364
-326
No files matched your search
@@ -35,6 +35,7 @@ class StatsMedianAverage extends StatsOverviewWidget
|
||||
protected function getStats(): array
|
||||
{
|
||||
$data = LoadEvents::load($this->filters, false);
|
||||
|
||||
$team_id = (int) $this->filters['team_id'] ?? 0;
|
||||
|
||||
$season = $this->filters['season'] ?? 0;
|
||||
@@ -45,9 +46,9 @@ class StatsMedianAverage extends StatsOverviewWidget
|
||||
switch ($season_or_date) {
|
||||
case 'season':
|
||||
if ($season)
|
||||
$date_events = implode(',', $season);
|
||||
$date_events = implode(', ', $season);
|
||||
else
|
||||
$date_events = 'All Seasons';
|
||||
$date_events = 'Current Season';
|
||||
break;
|
||||
default:
|
||||
$start = $this->filters['start_date'] ?? 0;
|
||||
|
||||
Reference in new issue
Block a user