Admin fixes and design tweaks
This commit is contained in:
parent
45dc57b538
commit
fbaf40a6ac
6 changed files with 46 additions and 7 deletions
10
app/main.py
10
app/main.py
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue