diff --git a/Controller/GrouperGroupsController.php b/Controller/GrouperGroupsController.php index 03b4f85..2cf39b0 100644 --- a/Controller/GrouperGroupsController.php +++ b/Controller/GrouperGroupsController.php @@ -303,7 +303,8 @@ public function findSubscriber() } foreach($idArr as $i) { if($i['type'] == $pickerIdentifierType) { - $id = mb_strimwidth($i['identifier'], 0, 30, '...'); + //$id = mb_strimwidth($i['identifier'], 0, 30, '...'); + $id = $i['identifier']; break; } } diff --git a/View/Elements/Components/subscriberList.ctp b/View/Elements/Components/subscriberList.ctp index ca05222..199d218 100644 --- a/View/Elements/Components/subscriberList.ctp +++ b/View/Elements/Components/subscriberList.ctp @@ -105,7 +105,7 @@ select: function(event, ui) { // $("#group-add-member").hide(); // $("#group-add-member-name").text(ui.item.label).show(); - $("#addUser").val(ui.item.email); + $("#addUser").val(ui.item.identifier); // $("#CoGroupMemberCoPersonLabel").val(ui.item.label); $("#addUserbutton").prop('disabled', false).focus(); $("#group-add-member-clear-button").show();