ContactQuery: Change query column `contact_name' to be case sensitive

...and provide `contact' as case-insensitive alternative.

refs #8613
This commit is contained in:
Johannes Meyer 2015-04-10 09:46:41 +02:00
parent f00adc2138
commit 52dcecfd08
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ class ContactQuery extends IdoQuery
protected $columnMap = array(
'contacts' => array(
'contact_id' => 'c.contact_id',
'contact_name' => 'co.name1 COLLATE latin1_general_ci',
'contact' => 'co.name1 COLLATE latin1_general_ci',
'contact_name' => 'co.name1',
'alias' => 'c.alias COLLATE latin1_general_ci',
'contact_alias_name' => 'c.alias',
'email' => 'c.email_address COLLATE latin1_general_ci',