Commit 7e73b255 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #15258 from owncloud/users-addtofilteredgroup

Don't append user in a filtered list if groups don't match
parents a62f38a1 ea933565
......@@ -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