Merge pull request #1304 from LemmyNet/fix_community_local_filter

Fixing community local filter. #1302
This commit is contained in:
Nutomic 2020-12-03 11:55:16 +00:00 committed by GitHub
commit 4a94d9182e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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());
}