DowntimeQuery: Provide case-insensitive filter column `service_host'

refs #8613
This commit is contained in:
Johannes Meyer 2015-04-10 14:25:53 +02:00
parent 5ccf6a7efa
commit 92634a1921
2 changed files with 2 additions and 1 deletions

View File

@ -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(

View File

@ -69,6 +69,6 @@ class Downtime extends DataView
public function getFilterColumns()
{
return array('author', 'host', 'service');
return array('author', 'host', 'service', 'service_host');
}
}