mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Co-authored-by: Nutomic <me@nutomic.com>
This commit is contained in:
parent
fbadb2d7bd
commit
ffd2ba5d90
@ -206,7 +206,7 @@ fn get_feed_community(
|
|||||||
let community = Community::read_from_name(conn, community_name)?;
|
let community = Community::read_from_name(conn, community_name)?;
|
||||||
|
|
||||||
let posts = PostQueryBuilder::create(conn)
|
let posts = PostQueryBuilder::create(conn)
|
||||||
.listing_type(ListingType::All)
|
.listing_type(ListingType::Community)
|
||||||
.sort(*sort_type)
|
.sort(*sort_type)
|
||||||
.community_id(community.id)
|
.community_id(community.id)
|
||||||
.list()?;
|
.list()?;
|
||||||
|
Loading…
Reference in New Issue
Block a user