We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90cffc0 commit 526ed75Copy full SHA for 526ed75
FU.API/FU.API/Services/SearchService.cs
@@ -23,6 +23,9 @@ public async Task<List<Post>> SearchPosts(PostQuery query)
23
24
// Filters are addded one at a time, generally by the amount of posts they filter out
25
26
+ // Only show active posts - maybe in future we can parameterize this
27
+ dbQuery = dbQuery.Where(p => p.Status == PostStatus.Active);
28
+
29
// Filter by games
30
if (query.GameIds.Count > 0)
31
{
0 commit comments