fix: user related order issue
This commit is contained in:
parent
67a3995bf2
commit
7e01c0bbda
@ -60,7 +60,7 @@ namespace Pixiview.Illust
|
||||
{
|
||||
return null;
|
||||
}
|
||||
illustIds = init.body.illusts.Keys.OrderByDescending(i => i).ToArray();
|
||||
illustIds = init.body.illusts.Keys.OrderByDescending(i => int.TryParse(i, out int id) ? id : -1).ToArray();
|
||||
App.DebugPrint($"user has ({illustIds.Length}) illusts.");
|
||||
startIndex = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user