[perf] desc order index page
This commit is contained in:
parent
5fbb6625e5
commit
9742552c5f
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ async def index(
|
||||||
select(models.OutboxObject).where(
|
select(models.OutboxObject).where(
|
||||||
models.OutboxObject.ap_type == "Note",
|
models.OutboxObject.ap_type == "Note",
|
||||||
models.OutboxObject.is_deleted.is_(False),
|
models.OutboxObject.is_deleted.is_(False),
|
||||||
)
|
).order_by(models.OutboxObject.created_at.desc())
|
||||||
)
|
)
|
||||||
).all()
|
).all()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue