Remove pointless community follower sort.

db_improvements_1
Dessalines 2021-11-22 13:44:53 -05:00
parent 76c4378011
commit 17442d5a3a
1 changed files with 0 additions and 2 deletions

View 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))