mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-14 05:42:27 +00:00
parent
a5b1efe853
commit
fc5b061b3a
2 changed files with 11 additions and 17 deletions
|
@ -31,8 +31,7 @@ public class SearchController : ControllerBase
|
|||
|
||||
string[] keywords = query.Split(" ");
|
||||
|
||||
IQueryable<Slot> dbQuery = this.database.Slots.Include
|
||||
(s => s.Creator)
|
||||
IQueryable<Slot> dbQuery = this.database.Slots.Include(s => s.Creator)
|
||||
.Include(s => s.Location)
|
||||
.OrderBy(s => !s.TeamPick)
|
||||
.ThenByDescending(s => s.FirstUploaded)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue