Skip to content

[stable10] Improve user list rendering perf by not resorting after every add (#2… - #1694

Merged
rullzer merged 1 commit into
stable10from
stable10-backport-1679
Oct 11, 2016
Merged

[stable10] Improve user list rendering perf by not resorting after every add (#2…#1694
rullzer merged 1 commit into
stable10from
stable10-backport-1679

Conversation

@MorrisJobke

Copy link
Copy Markdown
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.
@MorrisJobkeMorrisJobke added the 3. to review Waiting for reviews label Oct 11, 2016
@MorrisJobkeMorrisJobke added this to the Nextcloud 10.0.2 milestone Oct 11, 2016
@mention-bot

Copy link
Copy Markdown

@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.

@blizzz

Copy link
Copy Markdown
Member

LGTM

1 similar comment
@rullzer

Copy link
Copy Markdown
Member

LGTM

@rullzer
rullzer merged commit c7e40d0 into stable10Oct 11, 2016
@rullzer
rullzer deleted the stable10-backport-1679 branch October 11, 2016 12:26
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@MorrisJobke@mention-bot@blizzz@rullzer