mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2026-01-13 13:41:52 -08:00
clans: secondary sort by Id
because BrokenTV wouldn't stop whining
This commit is contained in:
parent
31c4e0db9a
commit
4f99f81373
@ -320,7 +320,7 @@ public class GroupController : Controller {
|
|||||||
if (request.Name != null)
|
if (request.Name != null)
|
||||||
groupsQuery = groupsQuery.Where(g => g.Name.ToLower().Contains(request.Name.ToLower()));
|
groupsQuery = groupsQuery.Where(g => g.Name.ToLower().Contains(request.Name.ToLower()));
|
||||||
|
|
||||||
groupsQuery = groupsQuery.OrderByDescending(g => g.Points);
|
groupsQuery = groupsQuery.OrderByDescending(g => g.Points).ThenBy(g => g.Id);
|
||||||
int skip = 0;
|
int skip = 0;
|
||||||
if (request.PageSize != null) {
|
if (request.PageSize != null) {
|
||||||
if ((request.PageNo ?? 0) > 1)
|
if ((request.PageNo ?? 0) > 1)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user