Fix gameVersion comparison in queue and hearted levels

Closes #206
This commit is contained in:
jvyden 2022-07-29 16:14:36 -04:00
parent a5b1efe853
commit fc5b061b3a
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
2 changed files with 11 additions and 17 deletions

View file

@ -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)