mirror of https://github.com/LemmyNet/lemmy.git
Forgot to order by published desc
parent
33be4f1106
commit
50731bff53
|
@ -51,6 +51,7 @@ impl LocalImage {
|
||||||
local_image::table
|
local_image::table
|
||||||
.filter(local_image::local_user_id.eq(user_id))
|
.filter(local_image::local_user_id.eq(user_id))
|
||||||
.select(local_image::all_columns)
|
.select(local_image::all_columns)
|
||||||
|
.order_by(local_image::published.desc())
|
||||||
.limit(limit)
|
.limit(limit)
|
||||||
.offset(offset)
|
.offset(offset)
|
||||||
.load::<LocalImage>(conn)
|
.load::<LocalImage>(conn)
|
||||||
|
|
Loading…
Reference in New Issue