mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 07:14:35 +02:00
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…
x
Reference in New Issue
Block a user