U4-8833 - The default sorting field for the member list view should be LoginName not Name

Created by Shannon Deminick 09 Aug 2016, 11:35:20 Updated by Shannon Deminick 10 Aug 2016, 09:41:08

Tags: Unscheduled

Relates to: U4-8831

When it is Name, this means it's sorted by umbracoNode.text, when it is LoginName it is sorted by cmsMember.LoginName which would have much better performance

Comments

Sebastiaan Janssen 09 Aug 2016, 11:42:02

Then LoginName needs to be a field that's actually in the list view and it should be the first column.


Shannon Deminick 09 Aug 2016, 11:49:58

Good catch, will add to the default list view. Funny enough we 'do' by default sort on LoginName but the default data installed makes the member list data type have "Name"


Shannon Deminick 09 Aug 2016, 11:52:47

On that same note, looks like there's a bug in just adding the login name column to list view!


Shannon Deminick 09 Aug 2016, 11:54:29

DOh, sorry that is not true and also the LoginName (aka username) column is displayed by default.


Shannon Deminick 09 Aug 2016, 11:59:22

Fixed in rev: 634dfaaf75a395d8c69a484c6b91506338763ec5 & 2ee71ecb96e7be2a5bdf4f15b1bd4af361aa448f


Shannon Deminick 09 Aug 2016, 11:59:56

To test : Install new umbraco site, check that the members list view in data types has username as the first column and it is the default sort value


Claus Jensen 10 Aug 2016, 09:22:56

Fixing up: LoginName should be username :) Commit: https://github.com/umbraco/Umbraco-CMS/commit/db78e266479d034d9d84105881ec834228b84f9f


Shannon Deminick 10 Aug 2016, 09:41:08

Actually that is not true - both LoginName and username work the same way:

I'm going to revert this change since LoginName is the consistent one used throughout the rest of the codebase.


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.5.0

Sprint: Sprint 39

Story Points:

Cycle: