From 88c7b95d033de4fb63f2d174d0009aeb972fb14b Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 23 Nov 2021 07:05:09 -0500 Subject: [PATCH] Remove pointless community follower sort. (#1939) --- crates/db_views_actor/src/community_follower_view.rs | 2 -- 1 file changed, 2 deletions(-) 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)) -- 2.44.1