Commit 287b9d3d authored by EXT Nicolas Munschy's avatar EXT Nicolas Munschy
Browse files

Fix results searchbar

parent a0a38c90
......@@ -70,12 +70,11 @@ root.controller('NewMemberCtrl', ['$scope', '$http', '$dropListFactory', '$state
if (data.status == "success") {
newMemberCtrl.usersList = data.details;
$scope._showAlert({status: 1, message: ""})
if (data.details.length && data.details[0].login != "0") {
newMemberCtrl.confirmInfos = false;
var pos = newMemberCtrl.usersList.map(function (item) {
return item.email + " (" + item.firstName + " " + item.lastName + ")"
return "( " + item.firstName + " " + item.lastName + ") " + item.email
});
var users = new Bloodhound({
datumTokenizer: Bloodhound.tokenizers.whitespace,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment