Revert "Fix ordering of pages"

This reverts commit 6d4d85b627.
This commit is contained in:
jvyden 2022-01-22 21:48:16 -05:00
parent 6d4d85b627
commit a36a8390e3
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

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