mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-15 12:13:04 +00:00
Fixing community local filter. #1302
This commit is contained in:
parent
b587e147b0
commit
8a0336c2ff
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user