Skip to content

Commit

Permalink
CommentQuery: Provide service_host' additionally to service_host_name'
Browse files Browse the repository at this point in the history
refs #8613
  • Loading branch information
Johannes Meyer committed Apr 9, 2015
1 parent 480f551 commit 002b820
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -22,6 +22,7 @@ class CommentQuery extends IdoQuery
'host_name' => 'CASE WHEN ho.name1 IS NULL THEN so.name1 ELSE ho.name1 END',
'service' => 'so.name2 COLLATE latin1_general_ci',
'service_description' => 'so.name2',
'service_host' => 'so.name1 COLLATE latin1_general_ci',
'service_host_name' => 'so.name1'
),
'hosts' => array(
Expand Down
2 changes: 1 addition & 1 deletion modules/monitoring/library/Monitoring/DataView/Comment.php
Expand Up @@ -60,6 +60,6 @@ public function getSortRules()
*/
public function getFilterColumns()
{
return array('host', 'service');
return array('host', 'service', 'service_host');
}
}

0 comments on commit 002b820

Please sign in to comment.