mirror of
https://git.sdbs.cz/sdbs/pile.git
synced 2025-05-10 00:12:18 +00:00
fix feed
This commit is contained in:
parent
a3efcca29a
commit
d10d7cfe5f
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ class RecentlyUploadedFeed(Feed):
|
||||||
description = "A list of most recently uploaded documents."
|
description = "A list of most recently uploaded documents."
|
||||||
|
|
||||||
def items(self):
|
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):
|
def item_title(self, item: Document):
|
||||||
return item.title
|
return item.title
|
||||||
|
|
Loading…
Add table
Reference in a new issue