mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-05 03:00:15 -04:00
add parent_id to "more" things returned from morecomments.json
This fixes issue #423. morecomments already returns parent_ids, but the .json version does not. Without parent_id, you cannot know at what depth the "load more comments…" links should go
This commit is contained in:
committed by
Neil Williams
parent
bdad9c4635
commit
3a6db1d1e3
@@ -413,7 +413,8 @@ class MoreCommentJsonTemplate(CommentJsonTemplate):
|
||||
_data_attrs_ = dict(id = "_id36",
|
||||
name = "_fullname",
|
||||
children = "children",
|
||||
count = "count")
|
||||
count = "count",
|
||||
parent_id = "parent_id")
|
||||
|
||||
def kind(self, wrapped):
|
||||
return "more"
|
||||
|
||||
Reference in New Issue
Block a user