From a6d288e1ac7be004b0d4e5e05ecacc3c2f243b5c Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 30 Nov 2020 14:39:13 +0100 Subject: [PATCH] save group ids not display names in configuration Signed-off-by: Arthur Schiwon --- apps/files_external/js/settings.js | 4 ++-- 1 file 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) { -- 2.39.5