.fishlb will now use totalcatches as a tiebreaker
This commit is contained in:
parent
d3c90ab59f
commit
68e736ceb8
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ public sealed class FishService(
|
||||||
|
|
||||||
var result = await ctx.GetTable<FishCatch>()
|
var result = await ctx.GetTable<FishCatch>()
|
||||||
.GroupBy(x => x.UserId)
|
.GroupBy(x => x.UserId)
|
||||||
.OrderByDescending(x => x.Count())
|
.OrderByDescending(x => x.Count()).ThenByDescending(x => x.Sum(x => x.Count))
|
||||||
.Skip(page * 10)
|
.Skip(page * 10)
|
||||||
.Take(10)
|
.Take(10)
|
||||||
.Select(x => new
|
.Select(x => new
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue