mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-28 23:52:36 +01:00
Fix TotalPages calculation error
This commit is contained in:
@@ -413,7 +413,7 @@ namespace Tgstation.Server.Host.Controllers
|
||||
{
|
||||
Content = finalResults,
|
||||
PageSize = pageSize,
|
||||
TotalPages = (ushort)((totalResults % pageSize) + 1)
|
||||
TotalPages = (ushort)((totalResults / pageSize) + 1)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user