Fix ordering of pages

This commit is contained in:
jvyden 2022-01-22 21:46:36 -05:00
parent 75ad64db40
commit 6d4d85b627
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -36,6 +36,7 @@ public class UsersPage : BaseLayout
this.Users = await this.Database.Users.Where
(u => !u.Banned)
.Skip(pageNumber * ServerStatics.PageSize)
.OrderByDescending(u => u.UserId)
.Take(ServerStatics.PageSize)
.ToAsyncEnumerable()
.OrderBy(u => u.Status)