EventgridQuery: Make filter column `servicegroup' case-insensitive

...and add a case-sensitive query column.

refs #8613
This commit is contained in:
Johannes Meyer 2015-04-10 16:01:22 +02:00
parent ea16d45aa3
commit e7c1e552a5
2 changed files with 3 additions and 2 deletions

View File

@ -31,7 +31,8 @@ class EventgridQuery extends IdoQuery
),
'servicegroups' => array(
'servicegroup' => 'sgo.name1'
'servicegroup' => 'sgo.name1 COLLATE latin1_general_ci',
'servicegroup_name' => 'sgo.name1'
),
'hostgroups' => array(

View File

@ -47,6 +47,6 @@ class Eventgrid extends DataView
public function getFilterColumns()
{
return array('host', 'service', 'hostgroup');
return array('host', 'service', 'hostgroup', 'servicegroup');
}
}