Fix #261: only show lineal parents in contexts.
This commit is contained in:
parent
72995ef3f1
commit
1018cf3412
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None, sub=None):
|
|||
comment_info = comment
|
||||
c = comment
|
||||
while context and c.level > 1:
|
||||
c.parent_comment.replies2 = [c]
|
||||
c = c.parent_comment
|
||||
context -= 1
|
||||
top_comment = c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue