summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-05-05 09:00:18 -0500
committerluxagraf <sng@luxagraf.net>2024-05-05 09:00:18 -0500
commite6b98c3cbbe34430a93623ee45771a9448029cbf (patch)
tree7979167b7e266f6cf3c1c2e3fd35fd97aa183c4e
parentb6bb48783604f529379e0be5feeb374aba417c16 (diff)
jrnl: bug fix
-rw-r--r--app/posts/views/jrnl_views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/posts/views/jrnl_views.py b/app/posts/views/jrnl_views.py
index 9a476ac..a7d9f1c 100644
--- a/app/posts/views/jrnl_views.py
+++ b/app/posts/views/jrnl_views.py
@@ -147,7 +147,7 @@ class JrnlRSSFeedView(Feed):
description_template = 'feeds/blog_description.html'
def items(self):
- return Post.objects.filter(status__exact=1).filter(post_type__in=PostType.JRNL).order_by('-pub_date')[:10]
+ return Post.objects.filter(status__exact=1).filter(post_type__in=[PostType.JRNL]).order_by('-pub_date')[:10]
def item_pubdate(self, item):
"""