From d10d7cfe5f4144333d757e453abe2de5f4d3afff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Fri, 24 Apr 2020 00:06:19 +0200 Subject: [PATCH] fix feed --- sdbs_pile/pile/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdbs_pile/pile/views.py b/sdbs_pile/pile/views.py index 3214fc8..84d73e2 100644 --- a/sdbs_pile/pile/views.py +++ b/sdbs_pile/pile/views.py @@ -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