]> Untitled Git - lemmy.git/commitdiff
Remove pointless community follower sort. (#1939)
authorDessalines <dessalines@users.noreply.github.com>
Tue, 23 Nov 2021 12:05:09 +0000 (07:05 -0500)
committerGitHub <noreply@github.com>
Tue, 23 Nov 2021 12:05:09 +0000 (12:05 +0000)
crates/db_views_actor/src/community_follower_view.rs

index 379d70958a176d0198c5a24b95d83e3468f76156..7fbbcf8511e2fa3a1f830275f5e1e9cda82b260a 100644 (file)
@@ -28,7 +28,6 @@ impl CommunityFollowerView {
         Person::safe_columns_tuple(),
       ))
       .filter(community_follower::community_id.eq(community_id))
-      .order_by(community_follower::published)
       .load::<CommunityFollowerViewTuple>(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::<CommunityFollowerViewTuple>(conn)?;
 
     Ok(Self::from_tuple_to_vec(res))