summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-11-30 15:46:34 +0100
committerGitHub <noreply@github.com>2020-11-30 15:46:34 +0100
commit3a8bd38ca414cd50ff690722f8bbaaace43a341e (patch)
tree047a5b36de222a1ec68bd4dbc30802cf7c10f7e7 /apps
parentdeb70737242446431fa64a33597678a944e519bd (diff)
parent5322d30d51a821005f699c26083591f57bfdfac2 (diff)
downloadnextcloud-server-3a8bd38ca414cd50ff690722f8bbaaace43a341e.tar.gz
nextcloud-server-3a8bd38ca414cd50ff690722f8bbaaace43a341e.zip
Merge pull request #24451 from nextcloud/fix/noid/external-storage-cfg-groupids
external storages: save group ids not display names in configuration
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 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) {