Commit ea933565 authored by Vincent Petry's avatar Vincent Petry
Browse files

Don't append user in a filtered list if groups don't match

parent d082e372
......@@ -48,6 +48,10 @@ var UserList = {
* @returns table row created for this user
add: function (user, sort) {
if (this.currentGid && _.indexOf(user.groups, this.currentGid) < 0) {
var $tr = $userListBody.find('tr:first-child').clone();
// this removes just the `display:none` of the template row
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