diff options
author | luxagraf <sng@luxagraf.net> | 2024-05-05 08:59:11 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-05-05 08:59:11 -0500 |
commit | b6bb48783604f529379e0be5feeb374aba417c16 (patch) | |
tree | 59c202499800f1be1493824e00f44556859a6e6b /app/posts | |
parent | 606008374546f346862b62ac0376e6a41dbab0a4 (diff) |
jrnl: bug fix
Diffstat (limited to 'app/posts')
-rw-r--r-- | app/posts/views/jrnl_views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/posts/views/jrnl_views.py b/app/posts/views/jrnl_views.py index d84e1c2..9a476ac 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==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): """ |