mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Fix grouping error when selecting the notification id
This commit is contained in:
parent
98388c4346
commit
227cb2c512
@ -34,7 +34,6 @@ class HostnotificationQuery extends IdoQuery
|
|||||||
'host_display_name' => 'h.display_name COLLATE latin1_general_ci'
|
'host_display_name' => 'h.display_name COLLATE latin1_general_ci'
|
||||||
),
|
),
|
||||||
'history' => array(
|
'history' => array(
|
||||||
'id' => 'hn.notification_id',
|
|
||||||
'output' => null,
|
'output' => null,
|
||||||
'state' => 'hn.state',
|
'state' => 'hn.state',
|
||||||
'timestamp' => 'UNIX_TIMESTAMP(hn.start_time)',
|
'timestamp' => 'UNIX_TIMESTAMP(hn.start_time)',
|
||||||
@ -54,6 +53,7 @@ class HostnotificationQuery extends IdoQuery
|
|||||||
'instance_name' => 'i.instance_name'
|
'instance_name' => 'i.instance_name'
|
||||||
),
|
),
|
||||||
'notifications' => array(
|
'notifications' => array(
|
||||||
|
'id' => 'hn.notification_id',
|
||||||
'host' => 'ho.name1 COLLATE latin1_general_ci',
|
'host' => 'ho.name1 COLLATE latin1_general_ci',
|
||||||
'host_name' => 'ho.name1',
|
'host_name' => 'ho.name1',
|
||||||
'notification_output' => 'hn.output',
|
'notification_output' => 'hn.output',
|
||||||
|
@ -26,7 +26,6 @@ class ServicenotificationQuery extends IdoQuery
|
|||||||
'notification_contact_name' => 'co.name1'
|
'notification_contact_name' => 'co.name1'
|
||||||
),
|
),
|
||||||
'history' => array(
|
'history' => array(
|
||||||
'id' => 'sn.notification_id',
|
|
||||||
'output' => null,
|
'output' => null,
|
||||||
'state' => 'sn.state',
|
'state' => 'sn.state',
|
||||||
'timestamp' => 'UNIX_TIMESTAMP(sn.start_time)',
|
'timestamp' => 'UNIX_TIMESTAMP(sn.start_time)',
|
||||||
@ -54,6 +53,7 @@ class ServicenotificationQuery extends IdoQuery
|
|||||||
'instance_name' => 'i.instance_name'
|
'instance_name' => 'i.instance_name'
|
||||||
),
|
),
|
||||||
'notifications' => array(
|
'notifications' => array(
|
||||||
|
'id' => 'sn.notification_id',
|
||||||
'host' => 'so.name1 COLLATE latin1_general_ci',
|
'host' => 'so.name1 COLLATE latin1_general_ci',
|
||||||
'host_name' => 'so.name1',
|
'host_name' => 'so.name1',
|
||||||
'notification_output' => 'sn.output',
|
'notification_output' => 'sn.output',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user