fix: sort category properly

This commit is contained in:
Anna 2022-04-17 00:55:57 -04:00
parent 800567c4a2
commit 2ab88888cd
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ internal class PluginUi : IDisposable {
SortOrder.Default => titles.OrderBy(t => t.Row.Order),
SortOrder.Alphabetical => titles.OrderBy(t => t.Text.RawString),
SortOrder.Achievement => titles.OrderBy(t => t.Achievement?.Name?.RawString ?? "???"),
SortOrder.Category => titles.OrderBy(t => t.Achievement?.AchievementCategory.Value?.Name?.RawString ?? "???"),
SortOrder.Category => titles.OrderBy(t => t.Achievement?.AchievementCategory.Value?.AchievementKind.Value?.Name?.RawString ?? "???"),
_ => titles,
};