fds
This commit is contained in:
parent
0a963c00a8
commit
e5e27d4492
1 changed files with 2 additions and 0 deletions
|
@ -227,6 +227,8 @@ class Comment(Base):
|
|||
@property
|
||||
def replies3(self):
|
||||
if self.replies2 != None: return self.replies2
|
||||
if not self.parent_submission:
|
||||
return sorted(self.child_comments, key=lambda x: x.created_utc)
|
||||
return sorted((x for x in self.child_comments if x.author_id not in (AUTOPOLLER_ID, AUTOBETTER_ID, AUTOCHOICE_ID)), key=lambda x: x.realupvotes, reverse=True)
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue