Skip to content

Commit

Permalink
email search for adding new members
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel Stohn authored and Axel Stohn committed Jun 24, 2022
1 parent ce80e9d commit bc3cc0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Controller/GrouperGroupsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
2 changes: 1 addition & 1 deletion View/Elements/Components/subscriberList.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit bc3cc0a

Please sign in to comment.