Commit d677691e by Tuomas Riihimäki

Role searcher should fetch only people from this event

1 parent 04e15be0
...@@ -98,7 +98,7 @@ public class RoleView extends GenericCDIView { ...@@ -98,7 +98,7 @@ public class RoleView extends GenericCDIView {
// By default this returns only 20 first results. // By default this returns only 20 first results.
UserSearchQuery usq = new UserSearchQuery(); UserSearchQuery usq = new UserSearchQuery();
usq.setSearch(user); usq.setSearch(user);
usq.setOnlyThisEvent(false); usq.setOnlyThisEvent(true);
SearchResult<User> ret = userbean.getUsers(usq); SearchResult<User> ret = userbean.getUsers(usq);
return ret.getResults(); return ret.getResults();
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!