mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 07:14:35 +02:00
NotificationHistoryQuery: Add missing field to group statement
refs #5896
This commit is contained in:
parent
e46dd4bdfd
commit
b4e9bad87a
@ -85,7 +85,8 @@ class NotificationhistoryQuery extends IdoQuery
|
|||||||
$this->select->group('n.object_id')
|
$this->select->group('n.object_id')
|
||||||
->group('n.start_time')
|
->group('n.start_time')
|
||||||
->group('n.output')
|
->group('n.output')
|
||||||
->group('n.state');
|
->group('n.state')
|
||||||
|
->group('o.objecttype_id');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->joinedVirtualTables = array('history' => true);
|
$this->joinedVirtualTables = array('history' => true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user