From: Arthur Schiwon Date: Mon, 30 Nov 2020 13:39:13 +0000 (+0100) Subject: save group ids not display names in configuration X-Git-Tag: v20.0.3RC2~31^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a6d288e1ac7be004b0d4e5e05ecacc3c2f243b5c;p=nextcloud-server.git save group ids not display names in configuration Signed-off-by: Arthur Schiwon --- diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index bd3bd0f5845..1fadaf2c2e2 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -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) {