U4-8833 The default sorting field for the member list view should be LoginName not Name
This commit is contained in:
@@ -333,10 +333,13 @@ namespace Umbraco.Core.Persistence.Repositories
|
||||
|
||||
sortedSql = new Sql(newSql, newArgs.ToArray());
|
||||
|
||||
sortedSql.OrderBy("CustomPropData.CustomPropVal");
|
||||
if (orderDirection == Direction.Descending)
|
||||
{
|
||||
sortedSql.Append(" DESC");
|
||||
sortedSql.OrderByDescending("CustomPropData.CustomPropVal");
|
||||
}
|
||||
else
|
||||
{
|
||||
sortedSql.OrderBy("CustomPropData.CustomPropVal");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user