[backend/database] Fix heuristic query causing EF Core warnings
This commit is contained in:
parent
0668c6b360
commit
10cc6232f3
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public static class QueryableTimelineExtensions
|
|||
return await db.Notes
|
||||
.Where(p => p.CreatedAt > latestNote.CreatedAt - TimeSpan.FromDays(7))
|
||||
.FollowingAndOwnLowFreq(user, db)
|
||||
//.Select(p => new { })
|
||||
.OrderByDescending(p => p.Id)
|
||||
.Take(Cutoff + 1)
|
||||
.CountAsync();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue