ServicegroupQuery: Remove COLLATE from query column `servicegroup_name'

...and add a case-insensitive alternative called `servicegroup'.

refs #8613
This commit is contained in:
Johannes Meyer 2015-04-10 15:34:28 +02:00
parent 055cd61421
commit fdd6a4d59b
1 changed files with 3 additions and 2 deletions

View File

@ -7,8 +7,9 @@ class ServicegroupQuery extends IdoQuery
{
protected $columnMap = array(
'servicegroups' => array(
'servicegroup_name' => 'sgo.name1 COLLATE latin1_general_ci',
'servicegroup_alias' => 'sg.alias',
'servicegroup' => 'sgo.name1 COLLATE latin1_general_ci',
'servicegroup_name' => 'sgo.name1',
'servicegroup_alias' => 'sg.alias'
),
'services' => array(
'host' => 'so.name1 COLLATE latin1_general_ci',