{"action":"created","issue":{"url":"https://api.github.com/repos/networknt/light-cms/issues/1","labels_url":"https://api.github.com/repos/networknt/light-cms/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/networknt/light-cms/issues/1/comments","events_url":"https://api.github.com/repos/networknt/light-cms/issues/1/events","html_url":"https://github.com/networknt/light-cms/issues/1","id":58736947,"number":1,"title":"Comment tree RID","user":{"login":"NicholasAzar","id":10523372,"avatar_url":"https://avatars.githubusercontent.com/u/10523372?v=3","gravatar_id":"","url":"https://api.github.com/users/NicholasAzar","html_url":"https://github.com/NicholasAzar","followers_url":"https://api.github.com/users/NicholasAzar/followers","following_url":"https://api.github.com/users/NicholasAzar/following{/other_user}","gists_url":"https://api.github.com/users/NicholasAzar/gists{/gist_id}","starred_url":"https://api.github.com/users/NicholasAzar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicholasAzar/subscriptions","organizations_url":"https://api.github.com/users/NicholasAzar/orgs","repos_url":"https://api.github.com/users/NicholasAzar/repos","events_url":"https://api.github.com/users/NicholasAzar/events{/privacy}","received_events_url":"https://api.github.com/users/NicholasAzar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"NicholasAzar","id":10523372,"avatar_url":"https://avatars.githubusercontent.com/u/10523372?v=3","gravatar_id":"","url":"https://api.github.com/users/NicholasAzar","html_url":"https://github.com/NicholasAzar","followers_url":"https://api.github.com/users/NicholasAzar/followers","following_url":"https://api.github.com/users/NicholasAzar/following{/other_user}","gists_url":"https://api.github.com/users/NicholasAzar/gists{/gist_id}","starred_url":"https://api.github.com/users/NicholasAzar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicholasAzar/subscriptions","organizations_url":"https://api.github.com/users/NicholasAzar/orgs","repos_url":"https://api.github.com/users/NicholasAzar/repos","events_url":"https://api.github.com/users/NicholasAzar/events{/privacy}","received_events_url":"https://api.github.com/users/NicholasAzar/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-24T13:19:59Z","updated_at":"2015-02-25T01:33:09Z","closed_at":null,"body":"When querying the database for the comments on forum posts, the RID of comments more then 1 level deep is not included. \n\nAs a result, adding sub comments does not function."},"comment":{"url":"https://api.github.com/repos/networknt/light-cms/issues/comments/75888671","html_url":"https://github.com/networknt/light-cms/issues/1#issuecomment-75888671","issue_url":"https://api.github.com/repos/networknt/light-cms/issues/1","id":75888671,"user":{"login":"stevehu","id":2042337,"avatar_url":"https://avatars.githubusercontent.com/u/2042337?v=3","gravatar_id":"","url":"https://api.github.com/users/stevehu","html_url":"https://github.com/stevehu","followers_url":"https://api.github.com/users/stevehu/followers","following_url":"https://api.github.com/users/stevehu/following{/other_user}","gists_url":"https://api.github.com/users/stevehu/gists{/gist_id}","starred_url":"https://api.github.com/users/stevehu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevehu/subscriptions","organizations_url":"https://api.github.com/users/stevehu/orgs","repos_url":"https://api.github.com/users/stevehu/repos","events_url":"https://api.github.com/users/stevehu/events{/privacy}","received_events_url":"https://api.github.com/users/stevehu/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T01:33:09Z","updated_at":"2015-02-25T01:33:09Z","body":"I tried on my local and you are right. Here is what I got.\n\nresult =\n[{\"id\":\"1\",\"content\":\"comment1\",\"parent\":\"#29:0\",\"children\":[{\"id\":\"2\",\"content\":\"comment2\",\"parent\":\"#30:0\",\"children\":[\"#30:2\"]}]}]\n\nI will remodel it and let you know.\n\nThanks,\n\nSteve\n\nOn Tue, Feb 24, 2015 at 8:19 AM, NicholasAzar <notifications@github.com>\nwrote:\n\n> When querying the database for the comments on forum posts, the RID of\n> comments more then 1 level deep is not included.\n>\n> As a result, adding sub comments does not function.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/networknt/light-cms/issues/1>.\n>\n"}}