mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-07 15:45:25 +00:00
Forgot to order by published desc
This commit is contained in:
parent
33be4f1106
commit
50731bff53
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ impl LocalImage {
|
|||
local_image::table
|
||||
.filter(local_image::local_user_id.eq(user_id))
|
||||
.select(local_image::all_columns)
|
||||
.order_by(local_image::published.desc())
|
||||
.limit(limit)
|
||||
.offset(offset)
|
||||
.load::<LocalImage>(conn)
|
||||
|
|
Loading…
Reference in a new issue