Commit 0f6a5aac authored by Vincent Petry's avatar Vincent Petry Committed by Thomas Müller
Browse files

Improve user list rendering perf by not resorting after every add (#26282)

The call to UserList.add() was wrong and was passing "user.lastLogin"
as the sort argument which would cause the list to be resorted over and
over again for every added item after loading the next page of users.
parent 36dd2735
......@@ -396,7 +396,7 @@ var UserList = {
if(UserList.has( {
return true;
var $tr = UserList.add(user, user.lastLogin, false, user.backend);
var $tr = UserList.add(user, false);
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