Merge pull request #24451 from nextcloud/fix/noid/external-storage-cfg-groupids

external storages: save group ids not display names in configuration
This commit is contained in:
Morris Jobke 2020-11-30 15:46:34 +01:00 committed by GitHub
commit 3a8bd38ca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -93,8 +93,8 @@ function addSelect2 ($elements, userListLimit) {
var userCount = 0; // users is an object
// add groups
$.each(data.groups, function(i, group) {
results.push({name:group+'(group)', displayname:group, type:'group' });
$.each(data.groups, function(gid, group) {
results.push({name:gid+'(group)', displayname:group, type:'group' });
});
// add users
$.each(data.users, function(id, user) {