Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable9] Improve user list rendering perf by not resorting after every add (#2… #1696

Merged
merged 1 commit into from
Oct 11, 2016

Conversation

MorrisJobke
Copy link
Member

…6282)

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.

Backport of #1679

I tested this with LDAP and it works.

cc @blizzz @nickvergessen @rullzer

…6282)

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.
@mention-bot
Copy link

@MorrisJobke, thanks for your PR! By analyzing the history of the files in this pull request, we identified @PVince81, @ringmaster and @blizzz to be potential reviewers.

@MorrisJobke MorrisJobke added the 3. to review Waiting for reviews label Oct 11, 2016
@MorrisJobke MorrisJobke added this to the Nextcloud 9.0.55 milestone Oct 11, 2016
@blizzz
Copy link
Member

blizzz commented Oct 11, 2016

LGTM

1 similar comment
@rullzer
Copy link
Member

rullzer commented Oct 11, 2016

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants