mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
StatusQuery: fix join on wrong alias
Looks like a copy & paste error, resulted in hosts been shown multiple times. fixes #8699
This commit is contained in:
parent
792a67c439
commit
16ca8d0654
@ -589,7 +589,7 @@ SQL;
|
||||
{
|
||||
$this->select->joinLeft(
|
||||
array('hlcd' => $this->getLastCommentSubQuery(2, 'last_downtime_data')),
|
||||
'hlcg.object_id = hs.host_object_id',
|
||||
'hlcd.object_id = hs.host_object_id',
|
||||
array()
|
||||
);
|
||||
}
|
||||
@ -601,7 +601,7 @@ SQL;
|
||||
{
|
||||
$this->select->joinLeft(
|
||||
array('hlcf' => $this->getLastCommentSubQuery(3, 'last_flapping_data')),
|
||||
'hlcg.object_id = hs.host_object_id',
|
||||
'hlcf.object_id = hs.host_object_id',
|
||||
array()
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user