forked from rDrama/rDrama
fixing "more comments" button appearing when there's no more comments
parent
0e1177843e
commit
a50544d86a
|
@ -246,7 +246,7 @@ class Comment(Base):
|
||||||
return self.child_comments.order_by(Comment.id).all()
|
return self.child_comments.order_by(Comment.id).all()
|
||||||
|
|
||||||
comments = self.child_comments.filter(Comment.author_id.notin_((AUTOPOLLER_ID, AUTOBETTER_ID, AUTOCHOICE_ID)))
|
comments = self.child_comments.filter(Comment.author_id.notin_((AUTOPOLLER_ID, AUTOBETTER_ID, AUTOCHOICE_ID)))
|
||||||
return sort_comments(sort, comments)
|
return sort_comments(sort, comments).all()
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue