Skip to content

Commit

Permalink
EventgridQuery: Make filter column `hostgroup' case-insensitive
Browse files Browse the repository at this point in the history
...and add a case-sensitive query column.

refs #8613
  • Loading branch information
Johannes Meyer committed Apr 10, 2015
1 parent 42e93ff commit ea16d45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -35,7 +35,8 @@ class EventgridQuery extends IdoQuery
),

'hostgroups' => array(
'hostgroup' => 'hgo.name1'
'hostgroup' => 'hgo.name1 COLLATE latin1_general_ci',
'hostgroup_name' => 'hgo.name1'
)
);

Expand Down
Expand Up @@ -47,6 +47,6 @@ public function getSortRules()

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

0 comments on commit ea16d45

Please sign in to comment.