Fix community rss. Fixes #2116 (#2119)

Co-authored-by: Nutomic <me@nutomic.com>
This commit is contained in:
Dessalines 2022-03-07 21:49:02 +00:00 committed by GitHub
parent fbadb2d7bd
commit ffd2ba5d90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ fn get_feed_community(
let community = Community::read_from_name(conn, community_name)?;
let posts = PostQueryBuilder::create(conn)
.listing_type(ListingType::All)
.listing_type(ListingType::Community)
.sort(*sort_type)
.community_id(community.id)
.list()?;