- Issue created by @globexplorer
The following code does prevent to list the event in past events:
case self::PAST_EVENTS:
$this->query->addWhereExpression($this->options['group'], "
(({$now} >= {$field_end}) AND ({$past_midnight} > {$field_end}))
OR
({$field_end} IS NULL AND {$now} >= {$field})");
break;
change the filter to:
case self::PAST_EVENTS:
$this->query->addWhereExpression($this->options['group'], "
(({$now} >= {$field_end}))
OR
({$field_end} IS NULL AND {$now} >= {$field})");
break;
Active
11.11
Code (back-end)