From: Dessalines Date: Wed, 2 Dec 2020 21:04:13 +0000 (-0500) Subject: Fixing community local filter. #1302 X-Git-Url: http://these/git/%22https:/www.exeterceilidhs.net/%22%7B%7D/%7B%7D/%7Bcv.image_url%7D?a=commitdiff_plain;h=8a0336c2ff74ea32ca52b775009699494642d42d;p=lemmy.git Fixing community local filter. #1302 --- 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()); }