Skip to content

Added Sorting (A-Z) members of roles in PersonaBar#6018

Merged
valadas merged 4 commits intodnnsoftware:developfrom
Mostafa-Moafi:Issue5994
May 1, 2024
Merged

Added Sorting (A-Z) members of roles in PersonaBar#6018
valadas merged 4 commits intodnnsoftware:developfrom
Mostafa-Moafi:Issue5994

Conversation

@Mostafa-Moafi
Copy link
Copy Markdown
Contributor

Fix #5994: Sorting (A-Z) members of roles in PersonaBar

Copy link
Copy Markdown
Contributor

@bdukes bdukes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

}

var users = RoleController.Instance.GetUserRoles(this.PortalId, Null.NullString, role.RoleName);
var users = RoleController.Instance.GetUserRoles(this.PortalId, Null.NullString, role.RoleName).OrderBy(x => x.FullName).ToList();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move the OrderBy call to the beginning of line 260? This would allows us to only specify it once, and avoid creating another copy of the list.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes of course, I fix it.

@bdukes bdukes added this to the 9.13.4 milestone May 1, 2024
Copy link
Copy Markdown
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@valadas valadas merged commit 23f1fa3 into dnnsoftware:develop May 1, 2024
@valadas valadas changed the title Fix #5994: Sorting (A-Z) members of roles in PersonaBar Added Sorting (A-Z) members of roles in PersonaBar Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Sorting (A-Z) members of roles

3 participants