summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-11-30 14:39:13 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-11-30 14:52:02 +0000
commitbc82799663c3cad39aa2710fb2e596d60e8980c3 (patch)
tree5b26b9da0fe2cae951ce5628f6ec4fa315248817 /apps
parent0cc0d826a8cf47b978f693224fd84e361beb2b69 (diff)
downloadnextcloud-server-bc82799663c3cad39aa2710fb2e596d60e8980c3.tar.gz
nextcloud-server-bc82799663c3cad39aa2710fb2e596d60e8980c3.zip
save group ids not display names in configuration
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/js/settings.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index d6e46f0f19d..89e821dcb3b 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -85,8 +85,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) {