mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
parent
e567151ec3
commit
b7d5b37ac9
@ -82,8 +82,8 @@ impl Post {
|
|||||||
.filter(community_id.eq(the_community_id))
|
.filter(community_id.eq(the_community_id))
|
||||||
.filter(deleted.eq(false))
|
.filter(deleted.eq(false))
|
||||||
.filter(removed.eq(false))
|
.filter(removed.eq(false))
|
||||||
.then_order_by(published.desc())
|
|
||||||
.then_order_by(featured_community.desc())
|
.then_order_by(featured_community.desc())
|
||||||
|
.then_order_by(published.desc())
|
||||||
.limit(FETCH_LIMIT_MAX)
|
.limit(FETCH_LIMIT_MAX)
|
||||||
.load::<Self>(conn)
|
.load::<Self>(conn)
|
||||||
.await
|
.await
|
||||||
|
Loading…
Reference in New Issue
Block a user