summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-11-30 17:22:31 +0100
committerGitHub <noreply@github.com>2020-11-30 17:22:31 +0100
commit739fdbaebaeeaced2cadfcc4d4fa4cd8372b6421 (patch)
tree6dd2dfadf7dd23c3d341d9b3db5b2958add77269 /apps
parent4d341334c89279a8c05bd3b9e990cd71c13ae7cc (diff)
parentbc82799663c3cad39aa2710fb2e596d60e8980c3 (diff)
downloadnextcloud-server-739fdbaebaeeaced2cadfcc4d4fa4cd8372b6421.tar.gz
nextcloud-server-739fdbaebaeeaced2cadfcc4d4fa4cd8372b6421.zip
Merge pull request #24457 from nextcloud/backport/24451/stable19
[stable19] 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 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) {