mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-15 22:22:27 +00:00
Fix ordering of pages
This commit is contained in:
parent
75ad64db40
commit
6d4d85b627
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue