Adds sort order for outbox

This commit is contained in:
Mouse Reeve 2020-12-04 08:07:47 -08:00
parent d92fb53333
commit ae8d0e1974

View file

@ -102,7 +102,7 @@ class User(OrderedCollectionPageMixin, AbstractUser):
queryset = Status.objects.filter(
user=self,
deleted=False,
).select_subclasses()
).select_subclasses().order_by('-published_date')
return self.to_ordered_collection(queryset, \
remote_id=self.outbox, **kwargs)