mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 04:41:19 +00:00
Merge pull request #1304 from LemmyNet/fix_community_local_filter
Fixing community local filter. #1302
This commit is contained in:
commit
4a94d9182e
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue