forked from rDrama/rDrama
1
0
Fork 0

fixing "more comments" button appearing when there's no more comments

master
Aevann1 2022-06-23 00:25:10 +02:00
parent 0e1177843e
commit a50544d86a
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ class Comment(Base):
return self.child_comments.order_by(Comment.id).all()
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