AnnouncementIniRepository: Also fetch column `start` in `findActive()`
This commit is contained in:
parent
3b82fffca9
commit
dcbb477d3a
|
@ -110,7 +110,7 @@ class AnnouncementIniRepository extends IniRepository
|
||||||
$now = new DateTime();
|
$now = new DateTime();
|
||||||
|
|
||||||
$query = $this
|
$query = $this
|
||||||
->select(array('hash', 'message'))
|
->select(array('hash', 'message', 'start'))
|
||||||
->setFilter(new FilterAnd(array(
|
->setFilter(new FilterAnd(array(
|
||||||
Filter::expression('start', '<=', $now),
|
Filter::expression('start', '<=', $now),
|
||||||
Filter::expression('end', '>=', $now)
|
Filter::expression('end', '>=', $now)
|
||||||
|
|
Loading…
Reference in New Issue