mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-30 09:10:02 +00:00
Fix order in CommunityModeratorView::get_community_first_mods
(#4859)
* Fix order in `CommunityModeratorView::get_community_first_mods` * Update community_moderator_view.rs * Update community_moderator_view.rs
This commit is contained in:
parent
6d8d23130d
commit
36e6f7ec78
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ impl CommunityModeratorView {
|
||||||
.distinct_on(community_moderator::community_id)
|
.distinct_on(community_moderator::community_id)
|
||||||
.order_by((
|
.order_by((
|
||||||
community_moderator::community_id,
|
community_moderator::community_id,
|
||||||
community_moderator::person_id,
|
community_moderator::published,
|
||||||
))
|
))
|
||||||
.load::<CommunityModeratorView>(conn)
|
.load::<CommunityModeratorView>(conn)
|
||||||
.await
|
.await
|
||||||
|
|
Loading…
Reference in a new issue