Skip to content

Commit

Permalink
Fixing community local filter. #1302
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Dec 2, 2020
1 parent b587e14 commit 8a0336c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lemmy_db/src/post_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

Expand Down

0 comments on commit 8a0336c

Please sign in to comment.