X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fdb_views_actor%2Fsrc%2Fcommunity_view.rs;h=abab023a66ac7efa122000170a7c15bad9ce956b;hb=8cb5939f5048c3eab293884923d4c3d5fcc08e2f;hp=9d48f17d64501569d37d5a45056e4a7bd8252295;hpb=4e5798852f583a68d123a9c49ae0ef59ec9ffc76;p=lemmy.git diff --git a/crates/db_views_actor/src/community_view.rs b/crates/db_views_actor/src/community_view.rs index 9d48f17d..abab023a 100644 --- a/crates/db_views_actor/src/community_view.rs +++ b/crates/db_views_actor/src/community_view.rs @@ -181,7 +181,7 @@ impl<'a> CommunityQuery<'a> { SortType::TopAll => query = query.order_by(community_aggregates::subscribers.desc()), SortType::TopMonth => query = query.order_by(community_aggregates::users_active_month.desc()), SortType::Hot => { - query = query.order_by(community_aggregates::users_active_month.desc()); + query = query.order_by(community_aggregates::hot_rank.desc()); // Don't show hidden communities in Hot (trending) query = query.filter( community::hidden