add primary group users to resultset before caching
This commit is contained in:
parent
6b218039ba
commit
76dfc87227
1 changed files with 2 additions and 1 deletions
|
@ -516,10 +516,11 @@ class GROUP_LDAP extends BackendUtility implements \OCP\GroupInterface {
|
|||
}
|
||||
}
|
||||
|
||||
$groupUsers = array_unique(array_merge($groupUsers, $primaryUsers));
|
||||
natsort($groupUsers);
|
||||
$this->access->connection->writeToCache('usersInGroup-'.$gid.'-'.$search, $groupUsers);
|
||||
$groupUsers = array_slice($groupUsers, $offset, $limit);
|
||||
$groupUsers = array_unique(array_merge($groupUsers, $primaryUsers));
|
||||
|
||||
|
||||
$this->access->connection->writeToCache($cacheKey, $groupUsers);
|
||||
|
||||
|
|
Loading…
Reference in a new issue