Admin fixes and design tweaks

This commit is contained in:
Thomas Sileo 2022-07-03 22:42:14 +02:00
parent 45dc57b538
commit fbaf40a6ac
6 changed files with 46 additions and 7 deletions

View file

@ -167,7 +167,15 @@ async def index(
q.options(
joinedload(models.OutboxObject.outbox_object_attachments).options(
joinedload(models.OutboxObjectAttachment.upload)
)
),
joinedload(models.OutboxObject.relates_to_inbox_object).options(
joinedload(models.InboxObject.actor),
),
joinedload(models.OutboxObject.relates_to_outbox_object).options(
joinedload(models.OutboxObject.outbox_object_attachments).options(
joinedload(models.OutboxObjectAttachment.upload)
),
),
)
.order_by(models.OutboxObject.ap_published_at.desc())
.offset(page_offset)