summaryrefslogtreecommitdiff
path: root/app/posts/views/jrnl_views.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-05-05 08:57:51 -0500
committerluxagraf <sng@luxagraf.net>2024-05-05 08:57:51 -0500
commit606008374546f346862b62ac0376e6a41dbab0a4 (patch)
treed263bbaa6e6ee8c8f8c1aab48c2e09dca6f565bf /app/posts/views/jrnl_views.py
parent05c42b1590201fb10836753e6dfb79e1c929a717 (diff)
jrnl: fixed a bug in JRNL feed
Diffstat (limited to 'app/posts/views/jrnl_views.py')
-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 8652e1d..d84e1c2 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,PostType.FILM]).order_by('-pub_date')[:10]
+ return Post.objects.filter(status__exact=1).filter(post_type==PostType.JRNL).order_by('-pub_date')[:10]
def item_pubdate(self, item):
"""