DbUserGroupBackend: Add case insensitive filter columns `group' and `parent'
refs #8826
This commit is contained in:
parent
37e47f0d3f
commit
de68d78938
|
@ -15,13 +15,22 @@ class DbUserGroupBackend extends DbRepository implements UserGroupBackendInterfa
|
||||||
*/
|
*/
|
||||||
protected $queryColumns = array(
|
protected $queryColumns = array(
|
||||||
'group' => array(
|
'group' => array(
|
||||||
|
'group' => 'name COLLATE utf8_general_ci',
|
||||||
'group_name' => 'name',
|
'group_name' => 'name',
|
||||||
|
'parent' => 'parent COLLATE utf8_general_ci',
|
||||||
'parent_name' => 'parent',
|
'parent_name' => 'parent',
|
||||||
'created_at' => 'UNIX_TIMESTAMP(ctime)',
|
'created_at' => 'UNIX_TIMESTAMP(ctime)',
|
||||||
'last_modified' => 'UNIX_TIMESTAMP(mtime)'
|
'last_modified' => 'UNIX_TIMESTAMP(mtime)'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The columns which are not permitted to be queried
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $filterColumns = array('group', 'parent');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default sort rules to be applied on a query
|
* The default sort rules to be applied on a query
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue