EventgridQuery: Make filter column `hostgroup' case-insensitive

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

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

View File

@ -35,7 +35,8 @@ class EventgridQuery extends IdoQuery
),
'hostgroups' => array(
'hostgroup' => 'hgo.name1'
'hostgroup' => 'hgo.name1 COLLATE latin1_general_ci',
'hostgroup_name' => 'hgo.name1'
)
);

View File

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