From: Dessalines Date: Tue, 23 Nov 2021 12:05:09 +0000 (-0500) Subject: Remove pointless community follower sort. (#1939) X-Git-Url: http://these/git/%7B%24%7B%60data:application/%22%7Burl%7D/readmes/%24%7BgetStaticDir%28%29%7D/js/%7B?a=commitdiff_plain;h=88c7b95d033de4fb63f2d174d0009aeb972fb14b;p=lemmy.git Remove pointless community follower sort. (#1939) --- diff --git a/crates/db_views_actor/src/community_follower_view.rs b/crates/db_views_actor/src/community_follower_view.rs index 379d7095..7fbbcf85 100644 --- a/crates/db_views_actor/src/community_follower_view.rs +++ b/crates/db_views_actor/src/community_follower_view.rs @@ -28,7 +28,6 @@ impl CommunityFollowerView { Person::safe_columns_tuple(), )) .filter(community_follower::community_id.eq(community_id)) - .order_by(community_follower::published) .load::(conn)?; Ok(Self::from_tuple_to_vec(res)) @@ -43,7 +42,6 @@ impl CommunityFollowerView { Person::safe_columns_tuple(), )) .filter(community_follower::person_id.eq(person_id)) - .order_by(community_follower::published) .load::(conn)?; Ok(Self::from_tuple_to_vec(res))