forked from rDrama/rDrama
add child comments to joinedload
parent
7cb95ee2ca
commit
b0d4465183
|
@ -175,7 +175,8 @@ def post_id(pid, anything=None, v=None, sub=None):
|
||||||
joinedload(Comment.awards),
|
joinedload(Comment.awards),
|
||||||
joinedload(Comment.author),
|
joinedload(Comment.author),
|
||||||
joinedload(Comment.options),
|
joinedload(Comment.options),
|
||||||
joinedload(Comment.options, CommentOption.votes)
|
joinedload(Comment.options, CommentOption.votes),
|
||||||
|
joinedload(Comment.child_comments)
|
||||||
)
|
)
|
||||||
|
|
||||||
output = []
|
output = []
|
||||||
|
|
Loading…
Reference in New Issue