diff --git a/crates/db_schema/src/impls/post.rs b/crates/db_schema/src/impls/post.rs index 2a5264402..91e7bc1e3 100644 --- a/crates/db_schema/src/impls/post.rs +++ b/crates/db_schema/src/impls/post.rs @@ -82,8 +82,8 @@ impl Post { .filter(community_id.eq(the_community_id)) .filter(deleted.eq(false)) .filter(removed.eq(false)) - .then_order_by(published.desc()) .then_order_by(featured_community.desc()) + .then_order_by(published.desc()) .limit(FETCH_LIMIT_MAX) .load::(conn) .await