mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 16:38:37 +00:00
Sort team picks by the time they were team picked (#980)
This commit is contained in:
parent
983b1e9984
commit
a2eaedc85b
16 changed files with 136 additions and 21 deletions
|
@ -247,7 +247,8 @@ public class SlotsController : ControllerBase
|
|||
pageData.TotalElements = await StatisticsHelper.SlotCount(this.database, queryBuilder);
|
||||
|
||||
SlotSortBuilder<SlotEntity> sortBuilder = new();
|
||||
sortBuilder.AddSort(new LastUpdatedSort());
|
||||
sortBuilder.AddSort(new TeamPickSort());
|
||||
sortBuilder.AddSort(new FirstUploadedSort());
|
||||
|
||||
List<SlotBase> slots = await this.database.GetSlots(token, queryBuilder, pageData, sortBuilder);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue