parent
9d3935f15b
commit
fd07393e44
|
@ -417,7 +417,8 @@ class TimeLine extends Form
|
||||||
|
|
||||||
$eventCount = 0;
|
$eventCount = 0;
|
||||||
foreach ($this->displayData as $group) {
|
foreach ($this->displayData as $group) {
|
||||||
if ($group->getDateTime() <= $start && $group->getDateTime() > $end) {
|
if ($group->getName() === $eventGroup->getName() &&
|
||||||
|
$group->getDateTime() <= $start && $group->getDateTime() > $end) {
|
||||||
$eventCount += $group->getValue();
|
$eventCount += $group->getValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue