Merge pull request #24457 from nextcloud/backport/24451/stable19
[stable19] external storages: save group ids not display names in configuration
This commit is contained in:
commit
739fdbaeba
|
@ -85,8 +85,8 @@ function addSelect2 ($elements, userListLimit) {
|
||||||
var userCount = 0; // users is an object
|
var userCount = 0; // users is an object
|
||||||
|
|
||||||
// add groups
|
// add groups
|
||||||
$.each(data.groups, function(i, group) {
|
$.each(data.groups, function(gid, group) {
|
||||||
results.push({name:group+'(group)', displayname:group, type:'group' });
|
results.push({name:gid+'(group)', displayname:group, type:'group' });
|
||||||
});
|
});
|
||||||
// add users
|
// add users
|
||||||
$.each(data.users, function(id, user) {
|
$.each(data.users, function(id, user) {
|
||||||
|
|
Loading…
Reference in New Issue