Fixing community local filter. #1302

pull/1304/head
Dessalines 2020-12-02 16:04:13 -05:00
parent b587e147b0
commit 8a0336c2ff
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ impl<'a> PostQueryBuilder<'a> {
if let Some(for_community_name) = self.for_community_name { if let Some(for_community_name) = self.for_community_name {
query = query query = query
.filter(community_name.eq(for_community_name)) .filter(community_name.eq(for_community_name))
.filter(local.eq(true)) .filter(community_local.eq(true))
.then_order_by(stickied.desc()); .then_order_by(stickied.desc());
} }