From 8a0336c2ff74ea32ca52b775009699494642d42d Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 2 Dec 2020 16:04:13 -0500 Subject: [PATCH] Fixing community local filter. #1302 --- lemmy_db/src/post_view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemmy_db/src/post_view.rs b/lemmy_db/src/post_view.rs index 3fb6d2b0..ea03c3a4 100644 --- a/lemmy_db/src/post_view.rs +++ b/lemmy_db/src/post_view.rs @@ -280,7 +280,7 @@ impl<'a> PostQueryBuilder<'a> { if let Some(for_community_name) = self.for_community_name { query = query .filter(community_name.eq(for_community_name)) - .filter(local.eq(true)) + .filter(community_local.eq(true)) .then_order_by(stickied.desc()); } -- 2.44.1