This commit is contained in:
Tomáš Mládek 2020-04-24 00:06:19 +02:00
parent a3efcca29a
commit d10d7cfe5f

View file

@ -159,7 +159,7 @@ class RecentlyUploadedFeed(Feed):
description = "A list of most recently uploaded documents."
def items(self):
return Document.objects.exclude_hidden().order_by('-uploaded')[:5]
return Document.objects.order_by('-uploaded')[:5]
def item_title(self, item: Document):
return item.title