Fix beatmap query not including beatmap files

This commit is contained in:
smoogipoo 2018-01-16 18:20:46 +09:00
parent ae10aa4042
commit d8275c4f9b
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@ public override void Cleanup()
public IQueryable<BeatmapInfo> Beatmaps => GetContext().BeatmapInfo public IQueryable<BeatmapInfo> Beatmaps => GetContext().BeatmapInfo
.Include(b => b.BeatmapSet).ThenInclude(s => s.Metadata) .Include(b => b.BeatmapSet).ThenInclude(s => s.Metadata)
.Include(b => b.BeatmapSet).ThenInclude(s => s.Files).ThenInclude(f => f.FileInfo)
.Include(b => b.Metadata) .Include(b => b.Metadata)
.Include(b => b.Ruleset) .Include(b => b.Ruleset)
.Include(b => b.BaseDifficulty); .Include(b => b.BaseDifficulty);