var UserList = {
availableGroups: [],
- offset: 30, //The first 30 users are there. No prob, if less in total.
+ offset: 50, //The first 30 users are there. No prob, if less in total.
//hardcoded in settings/users.php
usersToLoad: 10, //So many users will be loaded when user scrolls down
}
},
checkUsersToLoad: function() {
- //30 shall be loaded initially, from then on always 10 upon scrolling
+ //50 shall be loaded initially, from then on always 10 upon scrolling
if(UserList.isEmpty === false) {
UserList.usersToLoad = 10;
} else {
- UserList.usersToLoad = 30;
+ UserList.usersToLoad = 50;
}
},
empty: function() {
OC_Appconfig::getValue( 'files_encryption', 'recoveryAdminEnabled' );
if($isAdmin) {
- $accessibleUsers = OC_User::getDisplayNames('', 30);
+ $accessibleUsers = OC_User::getDisplayNames('', 50);
$subadmins = OC_SubAdmin::getAllSubAdmins();
}else{
/* Retrieve group IDs from $groups array, so we can pass that information into OC_Group::displayNamesInGroups() */
$gids[] = $group['id'];
}
}
- $accessibleUsers = OC_Group::displayNamesInGroups($gids, '', 30);
+ $accessibleUsers = OC_Group::displayNamesInGroups($gids, '', 50);
$subadmins = false;
}