mirror of
https://github.com/ppy/osu.git
synced 2025-03-15 23:57:25 +08:00
Remove sorting by rank
Since it isn't working for any case currently
This commit is contained in:
parent
cb81d1dd2f
commit
7cc6494482
@ -211,22 +211,6 @@ namespace osu.Game.Overlays
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SocialSortCriteria.Rank:
|
|
||||||
if (newUsers.FirstOrDefault().Statistics != null)
|
|
||||||
{
|
|
||||||
switch (sortDirection)
|
|
||||||
{
|
|
||||||
case SortDirection.Ascending:
|
|
||||||
sortedUsers = newUsers.OrderBy(u => u.Statistics?.Ranks.Global);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case SortDirection.Descending:
|
|
||||||
sortedUsers = newUsers.OrderByDescending(u => u.Statistics?.Ranks.Global);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Users = sortedUsers;
|
Users = sortedUsers;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user