{"action":"created","comment":{"url":"https://api.github.com/repos/hedgeserv/ember-table-addon/pulls/comments/30532551","id":30532551,"diff_hunk":"@@ -192,6 +193,20 @@ StyleBindingsMixin, ResizeHandlerMixin, {\n   prepareTableColumns: function() {\n     var _this = this;\n     var columns = this.get('columns') || Ember.A();\n+    if(this.get('hasColumnGroup')) {\n+      this.set('columnGroups', columns);\n+      columns = columns.reduce(function(result, col) {\n+        var innerColumns = col.get('innerColumns');\n+        if (innerColumns) {\n+          return result.concat(innerColumns);\n+        } else {\n+          result.push(col);\n+          return result;\n+        }\n+      }, []);\n+      this.set('columns', columns);","path":"addon/components/ember-table.js","position":23,"original_position":23,"commit_id":"32f6abb84837a1fbd89287a89b6e29747a759339","original_commit_id":"32f6abb84837a1fbd89287a89b6e29747a759339","user":{"login":"jefflage","id":1093605,"avatar_url":"https://avatars.githubusercontent.com/u/1093605?v=3","gravatar_id":"","url":"https://api.github.com/users/jefflage","html_url":"https://github.com/jefflage","followers_url":"https://api.github.com/users/jefflage/followers","following_url":"https://api.github.com/users/jefflage/following{/other_user}","gists_url":"https://api.github.com/users/jefflage/gists{/gist_id}","starred_url":"https://api.github.com/users/jefflage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefflage/subscriptions","organizations_url":"https://api.github.com/users/jefflage/orgs","repos_url":"https://api.github.com/users/jefflage/repos","events_url":"https://api.github.com/users/jefflage/events{/privacy}","received_events_url":"https://api.github.com/users/jefflage/received_events","type":"User","site_admin":false},"body":"This line is going to replace the original columns array with a flattened one.  We should not do that.","created_at":"2015-05-18T18:08:58Z","updated_at":"2015-05-18T18:08:58Z","html_url":"https://github.com/hedgeserv/ember-table-addon/pull/9#discussion_r30532551","pull_request_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/hedgeserv/ember-table-addon/pulls/comments/30532551"},"html":{"href":"https://github.com/hedgeserv/ember-table-addon/pull/9#discussion_r30532551"},"pull_request":{"href":"https://api.github.com/repos/hedgeserv/ember-table-addon/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/hedgeserv/ember-table-addon/pulls/9","id":35621583,"html_url":"https://github.com/hedgeserv/ember-table-addon/pull/9","diff_url":"https://github.com/hedgeserv/ember-table-addon/pull/9.diff","patch_url":"https://github.com/hedgeserv/ember-table-addon/pull/9.patch","issue_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/issues/9","number":9,"state":"open","locked":false,"title":"Display  column groups in ember table","user":{"login":"li-qiang","id":3676455,"avatar_url":"https://avatars.githubusercontent.com/u/3676455?v=3","gravatar_id":"","url":"https://api.github.com/users/li-qiang","html_url":"https://github.com/li-qiang","followers_url":"https://api.github.com/users/li-qiang/followers","following_url":"https://api.github.com/users/li-qiang/following{/other_user}","gists_url":"https://api.github.com/users/li-qiang/gists{/gist_id}","starred_url":"https://api.github.com/users/li-qiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/li-qiang/subscriptions","organizations_url":"https://api.github.com/users/li-qiang/orgs","repos_url":"https://api.github.com/users/li-qiang/repos","events_url":"https://api.github.com/users/li-qiang/events{/privacy}","received_events_url":"https://api.github.com/users/li-qiang/received_events","type":"User","site_admin":false},"body":"Column groups only can be displayed in ember table. Now, they **can't be resized or reordered**.","created_at":"2015-05-18T10:46:15Z","updated_at":"2015-05-18T18:08:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"63e8d7f10f797426d4525acd895230a5c004b254","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/pulls/9/commits","review_comments_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/pulls/9/comments","review_comment_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/issues/9/comments","statuses_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/statuses/32f6abb84837a1fbd89287a89b6e29747a759339","head":{"label":"li-qiang:master","ref":"master","sha":"32f6abb84837a1fbd89287a89b6e29747a759339","user":{"login":"li-qiang","id":3676455,"avatar_url":"https://avatars.githubusercontent.com/u/3676455?v=3","gravatar_id":"","url":"https://api.github.com/users/li-qiang","html_url":"https://github.com/li-qiang","followers_url":"https://api.github.com/users/li-qiang/followers","following_url":"https://api.github.com/users/li-qiang/following{/other_user}","gists_url":"https://api.github.com/users/li-qiang/gists{/gist_id}","starred_url":"https://api.github.com/users/li-qiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/li-qiang/subscriptions","organizations_url":"https://api.github.com/users/li-qiang/orgs","repos_url":"https://api.github.com/users/li-qiang/repos","events_url":"https://api.github.com/users/li-qiang/events{/privacy}","received_events_url":"https://api.github.com/users/li-qiang/received_events","type":"User","site_admin":false},"repo":{"id":35790146,"name":"ember-table-addon","full_name":"li-qiang/ember-table-addon","owner":{"login":"li-qiang","id":3676455,"avatar_url":"https://avatars.githubusercontent.com/u/3676455?v=3","gravatar_id":"","url":"https://api.github.com/users/li-qiang","html_url":"https://github.com/li-qiang","followers_url":"https://api.github.com/users/li-qiang/followers","following_url":"https://api.github.com/users/li-qiang/following{/other_user}","gists_url":"https://api.github.com/users/li-qiang/gists{/gist_id}","starred_url":"https://api.github.com/users/li-qiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/li-qiang/subscriptions","organizations_url":"https://api.github.com/users/li-qiang/orgs","repos_url":"https://api.github.com/users/li-qiang/repos","events_url":"https://api.github.com/users/li-qiang/events{/privacy}","received_events_url":"https://api.github.com/users/li-qiang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/li-qiang/ember-table-addon","description":"","fork":true,"url":"https://api.github.com/repos/li-qiang/ember-table-addon","forks_url":"https://api.github.com/repos/li-qiang/ember-table-addon/forks","keys_url":"https://api.github.com/repos/li-qiang/ember-table-addon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/li-qiang/ember-table-addon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/li-qiang/ember-table-addon/teams","hooks_url":"https://api.github.com/repos/li-qiang/ember-table-addon/hooks","issue_events_url":"https://api.github.com/repos/li-qiang/ember-table-addon/issues/events{/number}","events_url":"https://api.github.com/repos/li-qiang/ember-table-addon/events","assignees_url":"https://api.github.com/repos/li-qiang/ember-table-addon/assignees{/user}","branches_url":"https://api.github.com/repos/li-qiang/ember-table-addon/branches{/branch}","tags_url":"https://api.github.com/repos/li-qiang/ember-table-addon/tags","blobs_url":"https://api.github.com/repos/li-qiang/ember-table-addon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/li-qiang/ember-table-addon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/li-qiang/ember-table-addon/git/refs{/sha}","trees_url":"https://api.github.com/repos/li-qiang/ember-table-addon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/li-qiang/ember-table-addon/statuses/{sha}","languages_url":"https://api.github.com/repos/li-qiang/ember-table-addon/languages","stargazers_url":"https://api.github.com/repos/li-qiang/ember-table-addon/stargazers","contributors_url":"https://api.github.com/repos/li-qiang/ember-table-addon/contributors","subscribers_url":"https://api.github.com/repos/li-qiang/ember-table-addon/subscribers","subscription_url":"https://api.github.com/repos/li-qiang/ember-table-addon/subscription","commits_url":"https://api.github.com/repos/li-qiang/ember-table-addon/commits{/sha}","git_commits_url":"https://api.github.com/repos/li-qiang/ember-table-addon/git/commits{/sha}","comments_url":"https://api.github.com/repos/li-qiang/ember-table-addon/comments{/number}","issue_comment_url":"https://api.github.com/repos/li-qiang/ember-table-addon/issues/comments{/number}","contents_url":"https://api.github.com/repos/li-qiang/ember-table-addon/contents/{+path}","compare_url":"https://api.github.com/repos/li-qiang/ember-table-addon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/li-qiang/ember-table-addon/merges","archive_url":"https://api.github.com/repos/li-qiang/ember-table-addon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/li-qiang/ember-table-addon/downloads","issues_url":"https://api.github.com/repos/li-qiang/ember-table-addon/issues{/number}","pulls_url":"https://api.github.com/repos/li-qiang/ember-table-addon/pulls{/number}","milestones_url":"https://api.github.com/repos/li-qiang/ember-table-addon/milestones{/number}","notifications_url":"https://api.github.com/repos/li-qiang/ember-table-addon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/li-qiang/ember-table-addon/labels{/name}","releases_url":"https://api.github.com/repos/li-qiang/ember-table-addon/releases{/id}","created_at":"2015-05-18T01:15:29Z","updated_at":"2015-05-18T01:15:29Z","pushed_at":"2015-05-18T10:50:41Z","git_url":"git://github.com/li-qiang/ember-table-addon.git","ssh_url":"git@github.com:li-qiang/ember-table-addon.git","clone_url":"https://github.com/li-qiang/ember-table-addon.git","svn_url":"https://github.com/li-qiang/ember-table-addon","homepage":null,"size":4049,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hedgeserv:master","ref":"master","sha":"32bd9448eefbae84582a257b428fa252fecf1bf2","user":{"login":"hedgeserv","id":9663190,"avatar_url":"https://avatars.githubusercontent.com/u/9663190?v=3","gravatar_id":"","url":"https://api.github.com/users/hedgeserv","html_url":"https://github.com/hedgeserv","followers_url":"https://api.github.com/users/hedgeserv/followers","following_url":"https://api.github.com/users/hedgeserv/following{/other_user}","gists_url":"https://api.github.com/users/hedgeserv/gists{/gist_id}","starred_url":"https://api.github.com/users/hedgeserv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedgeserv/subscriptions","organizations_url":"https://api.github.com/users/hedgeserv/orgs","repos_url":"https://api.github.com/users/hedgeserv/repos","events_url":"https://api.github.com/users/hedgeserv/events{/privacy}","received_events_url":"https://api.github.com/users/hedgeserv/received_events","type":"Organization","site_admin":false},"repo":{"id":34483078,"name":"ember-table-addon","full_name":"hedgeserv/ember-table-addon","owner":{"login":"hedgeserv","id":9663190,"avatar_url":"https://avatars.githubusercontent.com/u/9663190?v=3","gravatar_id":"","url":"https://api.github.com/users/hedgeserv","html_url":"https://github.com/hedgeserv","followers_url":"https://api.github.com/users/hedgeserv/followers","following_url":"https://api.github.com/users/hedgeserv/following{/other_user}","gists_url":"https://api.github.com/users/hedgeserv/gists{/gist_id}","starred_url":"https://api.github.com/users/hedgeserv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedgeserv/subscriptions","organizations_url":"https://api.github.com/users/hedgeserv/orgs","repos_url":"https://api.github.com/users/hedgeserv/repos","events_url":"https://api.github.com/users/hedgeserv/events{/privacy}","received_events_url":"https://api.github.com/users/hedgeserv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hedgeserv/ember-table-addon","description":"","fork":true,"url":"https://api.github.com/repos/hedgeserv/ember-table-addon","forks_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/forks","keys_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/teams","hooks_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/hooks","issue_events_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/issues/events{/number}","events_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/events","assignees_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/assignees{/user}","branches_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/branches{/branch}","tags_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/tags","blobs_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/git/refs{/sha}","trees_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/statuses/{sha}","languages_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/languages","stargazers_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/stargazers","contributors_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/contributors","subscribers_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/subscribers","subscription_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/subscription","commits_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/commits{/sha}","git_commits_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/git/commits{/sha}","comments_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/comments{/number}","issue_comment_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/issues/comments{/number}","contents_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/contents/{+path}","compare_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/merges","archive_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/downloads","issues_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/issues{/number}","pulls_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/pulls{/number}","milestones_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/milestones{/number}","notifications_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/labels{/name}","releases_url":"https://api.github.com/repos/hedgeserv/ember-table-addon/releases{/id}","created_at":"2015-04-23T21:42:38Z","updated_at":"2015-04-24T00:21:16Z","pushed_at":"2015-05-18T10:50:43Z","git_url":"git://github.com/hedgeserv/ember-table-addon.git","ssh_url":"git@github.com:hedgeserv/ember-table-addon.git","clone_url":"https://github.com/hedgeserv/ember-table-addon.git","svn_url":"https://github.com/hedgeserv/ember-table-addon","homepage":null,"size":4049,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":9,"forks":6,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hedgeserv/ember-table-addon/pulls/9"},"html":{"href":"https://github.com/hedgeserv/ember-table-addon/pull/9"},"issue":{"href":"https://api.github.com/repos/hedgeserv/ember-table-addon/issues/9"},"comments":{"href":"https://api.github.com/repos/hedgeserv/ember-table-addon/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/hedgeserv/ember-table-addon/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/hedgeserv/ember-table-addon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hedgeserv/ember-table-addon/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/hedgeserv/ember-table-addon/statuses/32f6abb84837a1fbd89287a89b6e29747a759339"}}}}