summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/js/usergroupmembershipplugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine/js/usergroupmembershipplugin.js')
-rw-r--r--apps/workflowengine/js/usergroupmembershipplugin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/js/usergroupmembershipplugin.js b/apps/workflowengine/js/usergroupmembershipplugin.js
index c664481562b..b89087bea06 100644
--- a/apps/workflowengine/js/usergroupmembershipplugin.js
+++ b/apps/workflowengine/js/usergroupmembershipplugin.js
@@ -42,7 +42,7 @@
$(element).css('width', '400px');
$(element).select2({
- data: groups,
+ data: { results: groups, text: 'displayname' },
initSelection: function (element, callback) {
var groupId = element.val();
if (groupId && groups.length > 0) {