summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-11-30 14:39:13 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-11-30 14:52:37 +0100
commit5322d30d51a821005f699c26083591f57bfdfac2 (patch)
treecd6f10790668f936bf441fc6eb6fdfc1772605c2 /apps/files_external
parentbff1f045bb9eceac8b520d867e6bd7d122e91447 (diff)
downloadnextcloud-server-5322d30d51a821005f699c26083591f57bfdfac2.tar.gz
nextcloud-server-5322d30d51a821005f699c26083591f57bfdfac2.zip
save group ids not display names in configuration
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/files_external')
-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 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) {