Skip to content

Commit

Permalink
EventHistoryQuery: Provide hostgroup_name' as alternative to hostgr…
Browse files Browse the repository at this point in the history
…oup'

This can't be queried though until #7274 has been resolved.

refs #8613
  • Loading branch information
Johannes Meyer committed Apr 9, 2015
1 parent ec67c28 commit 9e79419
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -44,6 +44,7 @@ class EventHistoryQuery extends IdoQuery
),
'hostgroups' => array(
'hostgroup' => 'hgo.name1 COLLATE latin1_general_ci',
'hostgroup_name' => 'hgo.name1'
),
'hosts' => array(
'host_display_name' => 'CASE WHEN sh.display_name IS NOT NULL THEN sh.display_name ELSE h.display_name END'
Expand Down
Expand Up @@ -22,6 +22,7 @@ public function getColumns()
'host_display_name',
'service_description',
'service_display_name',
'hostgroup_name',
'object_type',
'timestamp',
'state',
Expand Down

0 comments on commit 9e79419

Please sign in to comment.