mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
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(
|
||||
'group' => array(
|
||||
'group' => 'name COLLATE utf8_general_ci',
|
||||
'group_name' => 'name',
|
||||
'parent' => 'parent COLLATE utf8_general_ci',
|
||||
'parent_name' => 'parent',
|
||||
'created_at' => 'UNIX_TIMESTAMP(ctime)',
|
||||
'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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user