Skip to content

Commit

Permalink
DowntimeQuery: Provide case-insensitive filter column `service_host'
Browse files Browse the repository at this point in the history
refs #8613
  • Loading branch information
Johannes Meyer committed Apr 10, 2015
1 parent 5ccf6a7 commit 92634a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -32,6 +32,7 @@ class DowntimeQuery 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
Expand Up @@ -69,6 +69,6 @@ public function getSortRules()

public function getFilterColumns()
{
return array('author', 'host', 'service');
return array('author', 'host', 'service', 'service_host');
}
}

0 comments on commit 92634a1

Please sign in to comment.