GitHub PullRequestReviewCommentEvent at 2014-07-08 13:28:13
Repository: commcare-hq
Actor: msienkiewicz
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/comments/14652231","id":14652231,"diff_hunk":"@@ -34,16 +34,17 @@ def fields(self):\n     @property\n     def headers(self):\n         return DataTablesHeader(\n-            DataTablesColumn(\"Form Name\", prop_name='@name', span=1),\n-            DataTablesColumn(\"Submitted By\", prop_name='username', span=1),\n-            DataTablesColumn(\"Completed\", prop_name='received_on', span=1))\n+            # In order to get dafault_sort working as expected, first column cannot contain a 'prop_name'.\n+            DataTablesColumn(\"\", visible=False),","path":"custom/succeed/reports/patient_submissions.py","position":8,"original_position":8,"commit_id":"aaca1dd66526327f4e2426fe65cdc15d546412fb","original_commit_id":"aaca1dd66526327f4e2426fe65cdc15d546412fb","user":{"login":"msienkiewicz","id":2471980,"avatar_url":"https://avatars.githubusercontent.com/u/2471980?","gravatar_id":"396a1b484adf9499852d0ef5711cfc0e","url":"https://api.github.com/users/msienkiewicz","html_url":"https://github.com/msienkiewicz","followers_url":"https://api.github.com/users/msienkiewicz/followers","following_url":"https://api.github.com/users/msienkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/msienkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/msienkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msienkiewicz/subscriptions","organizations_url":"https://api.github.com/users/msienkiewicz/orgs","repos_url":"https://api.github.com/users/msienkiewicz/repos","events_url":"https://api.github.com/users/msienkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/msienkiewicz/received_events","type":"User","site_admin":false},"body":"@millerdev  I used this method, since It seems that a 'default_sort' isn't working in case when  first column contain a property name - It was obtaining '@name' on first report load, instead using a 'default_sort' property.","created_at":"2014-07-08T13:28:13Z","updated_at":"2014-07-08T13:28:13Z","html_url":"https://github.com/dimagi/commcare-hq/pull/3811#discussion_r14652231","pull_request_url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/3811","_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/comments/14652231"},"html":{"href":"https://github.com/dimagi/commcare-hq/pull/3811#discussion_r14652231"},"pull_request":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/3811"}}},"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/3811","id":18095629,"html_url":"https://github.com/dimagi/commcare-hq/pull/3811","diff_url":"https://github.com/dimagi/commcare-hq/pull/3811.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/3811.patch","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/3811","number":3811,"state":"closed","title":"UCLA report #3: Fixed default sorting.","user":{"login":"msienkiewicz","id":2471980,"avatar_url":"https://avatars.githubusercontent.com/u/2471980?","gravatar_id":"396a1b484adf9499852d0ef5711cfc0e","url":"https://api.github.com/users/msienkiewicz","html_url":"https://github.com/msienkiewicz","followers_url":"https://api.github.com/users/msienkiewicz/followers","following_url":"https://api.github.com/users/msienkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/msienkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/msienkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msienkiewicz/subscriptions","organizations_url":"https://api.github.com/users/msienkiewicz/orgs","repos_url":"https://api.github.com/users/msienkiewicz/repos","events_url":"https://api.github.com/users/msienkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/msienkiewicz/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-07-08T11:07:35Z","updated_at":"2014-07-08T13:28:13Z","closed_at":"2014-07-08T12:59:58Z","merged_at":"2014-07-08T12:59:58Z","merge_commit_sha":"a50fc7c1bd9849a720f82f1d13445040095bddf8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/3811/commits","review_comments_url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/3811/comments","review_comment_url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/comments/{number}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/3811/comments","statuses_url":"https://api.github.com/repos/dimagi/commcare-hq/statuses/aaca1dd66526327f4e2426fe65cdc15d546412fb","head":{"label":"lwyszomi:116042-case","ref":"116042-case","sha":"aaca1dd66526327f4e2426fe65cdc15d546412fb","user":{"login":"lwyszomi","id":429541,"avatar_url":"https://avatars.githubusercontent.com/u/429541?","gravatar_id":"f8ed5553b52fdceedbcaa34ae6de5a62","url":"https://api.github.com/users/lwyszomi","html_url":"https://github.com/lwyszomi","followers_url":"https://api.github.com/users/lwyszomi/followers","following_url":"https://api.github.com/users/lwyszomi/following{/other_user}","gists_url":"https://api.github.com/users/lwyszomi/gists{/gist_id}","starred_url":"https://api.github.com/users/lwyszomi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwyszomi/subscriptions","organizations_url":"https://api.github.com/users/lwyszomi/orgs","repos_url":"https://api.github.com/users/lwyszomi/repos","events_url":"https://api.github.com/users/lwyszomi/events{/privacy}","received_events_url":"https://api.github.com/users/lwyszomi/received_events","type":"User","site_admin":false},"repo":{"id":12557346,"name":"commcare-hq","full_name":"lwyszomi/commcare-hq","owner":{"login":"lwyszomi","id":429541,"avatar_url":"https://avatars.githubusercontent.com/u/429541?","gravatar_id":"f8ed5553b52fdceedbcaa34ae6de5a62","url":"https://api.github.com/users/lwyszomi","html_url":"https://github.com/lwyszomi","followers_url":"https://api.github.com/users/lwyszomi/followers","following_url":"https://api.github.com/users/lwyszomi/following{/other_user}","gists_url":"https://api.github.com/users/lwyszomi/gists{/gist_id}","starred_url":"https://api.github.com/users/lwyszomi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwyszomi/subscriptions","organizations_url":"https://api.github.com/users/lwyszomi/orgs","repos_url":"https://api.github.com/users/lwyszomi/repos","events_url":"https://api.github.com/users/lwyszomi/events{/privacy}","received_events_url":"https://api.github.com/users/lwyszomi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lwyszomi/commcare-hq","description":"A server-side tool to help manage community health workers, written in Django","fork":true,"url":"https://api.github.com/repos/lwyszomi/commcare-hq","forks_url":"https://api.github.com/repos/lwyszomi/commcare-hq/forks","keys_url":"https://api.github.com/repos/lwyszomi/commcare-hq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lwyszomi/commcare-hq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lwyszomi/commcare-hq/teams","hooks_url":"https://api.github.com/repos/lwyszomi/commcare-hq/hooks","issue_events_url":"https://api.github.com/repos/lwyszomi/commcare-hq/issues/events{/number}","events_url":"https://api.github.com/repos/lwyszomi/commcare-hq/events","assignees_url":"https://api.github.com/repos/lwyszomi/commcare-hq/assignees{/user}","branches_url":"https://api.github.com/repos/lwyszomi/commcare-hq/branches{/branch}","tags_url":"https://api.github.com/repos/lwyszomi/commcare-hq/tags","blobs_url":"https://api.github.com/repos/lwyszomi/commcare-hq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lwyszomi/commcare-hq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lwyszomi/commcare-hq/git/refs{/sha}","trees_url":"https://api.github.com/repos/lwyszomi/commcare-hq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lwyszomi/commcare-hq/statuses/{sha}","languages_url":"https://api.github.com/repos/lwyszomi/commcare-hq/languages","stargazers_url":"https://api.github.com/repos/lwyszomi/commcare-hq/stargazers","contributors_url":"https://api.github.com/repos/lwyszomi/commcare-hq/contributors","subscribers_url":"https://api.github.com/repos/lwyszomi/commcare-hq/subscribers","subscription_url":"https://api.github.com/repos/lwyszomi/commcare-hq/subscription","commits_url":"https://api.github.com/repos/lwyszomi/commcare-hq/commits{/sha}","git_commits_url":"https://api.github.com/repos/lwyszomi/commcare-hq/git/commits{/sha}","comments_url":"https://api.github.com/repos/lwyszomi/commcare-hq/comments{/number}","issue_comment_url":"https://api.github.com/repos/lwyszomi/commcare-hq/issues/comments/{number}","contents_url":"https://api.github.com/repos/lwyszomi/commcare-hq/contents/{+path}","compare_url":"https://api.github.com/repos/lwyszomi/commcare-hq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lwyszomi/commcare-hq/merges","archive_url":"https://api.github.com/repos/lwyszomi/commcare-hq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lwyszomi/commcare-hq/downloads","issues_url":"https://api.github.com/repos/lwyszomi/commcare-hq/issues{/number}","pulls_url":"https://api.github.com/repos/lwyszomi/commcare-hq/pulls{/number}","milestones_url":"https://api.github.com/repos/lwyszomi/commcare-hq/milestones{/number}","notifications_url":"https://api.github.com/repos/lwyszomi/commcare-hq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lwyszomi/commcare-hq/labels{/name}","releases_url":"https://api.github.com/repos/lwyszomi/commcare-hq/releases{/id}","created_at":"2013-09-03T07:05:35Z","updated_at":"2014-06-25T09:56:06Z","pushed_at":"2014-07-08T13:00:00Z","git_url":"git://github.com/lwyszomi/commcare-hq.git","ssh_url":"git@github.com:lwyszomi/commcare-hq.git","clone_url":"https://github.com/lwyszomi/commcare-hq.git","svn_url":"https://github.com/lwyszomi/commcare-hq","homepage":"http://www.commcarehq.org","size":108694,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"dimagi:master","ref":"master","sha":"82140c2d3aa7ab98bb6760a43563e2bd395d5bb3","user":{"login":"dimagi","id":94514,"avatar_url":"https://avatars.githubusercontent.com/u/94514?","gravatar_id":"bf2cc69672a3a75313f476a0fb6ef103","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"repo":{"id":247278,"name":"commcare-hq","full_name":"dimagi/commcare-hq","owner":{"login":"dimagi","id":94514,"avatar_url":"https://avatars.githubusercontent.com/u/94514?","gravatar_id":"bf2cc69672a3a75313f476a0fb6ef103","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dimagi/commcare-hq","description":"A server-side tool to help manage community health workers, written in Django","fork":false,"url":"https://api.github.com/repos/dimagi/commcare-hq","forks_url":"https://api.github.com/repos/dimagi/commcare-hq/forks","keys_url":"https://api.github.com/repos/dimagi/commcare-hq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimagi/commcare-hq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimagi/commcare-hq/teams","hooks_url":"https://api.github.com/repos/dimagi/commcare-hq/hooks","issue_events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/events{/number}","events_url":"https://api.github.com/repos/dimagi/commcare-hq/events","assignees_url":"https://api.github.com/repos/dimagi/commcare-hq/assignees{/user}","branches_url":"https://api.github.com/repos/dimagi/commcare-hq/branches{/branch}","tags_url":"https://api.github.com/repos/dimagi/commcare-hq/tags","blobs_url":"https://api.github.com/repos/dimagi/commcare-hq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimagi/commcare-hq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimagi/commcare-hq/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimagi/commcare-hq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimagi/commcare-hq/statuses/{sha}","languages_url":"https://api.github.com/repos/dimagi/commcare-hq/languages","stargazers_url":"https://api.github.com/repos/dimagi/commcare-hq/stargazers","contributors_url":"https://api.github.com/repos/dimagi/commcare-hq/contributors","subscribers_url":"https://api.github.com/repos/dimagi/commcare-hq/subscribers","subscription_url":"https://api.github.com/repos/dimagi/commcare-hq/subscription","commits_url":"https://api.github.com/repos/dimagi/commcare-hq/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimagi/commcare-hq/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/{number}","contents_url":"https://api.github.com/repos/dimagi/commcare-hq/contents/{+path}","compare_url":"https://api.github.com/repos/dimagi/commcare-hq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimagi/commcare-hq/merges","archive_url":"https://api.github.com/repos/dimagi/commcare-hq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimagi/commcare-hq/downloads","issues_url":"https://api.github.com/repos/dimagi/commcare-hq/issues{/number}","pulls_url":"https://api.github.com/repos/dimagi/commcare-hq/pulls{/number}","milestones_url":"https://api.github.com/repos/dimagi/commcare-hq/milestones{/number}","notifications_url":"https://api.github.com/repos/dimagi/commcare-hq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/labels{/name}","releases_url":"https://api.github.com/repos/dimagi/commcare-hq/releases{/id}","created_at":"2009-07-09T17:00:07Z","updated_at":"2014-07-02T15:51:32Z","pushed_at":"2014-07-08T13:12:25Z","git_url":"git://github.com/dimagi/commcare-hq.git","ssh_url":"git@github.com:dimagi/commcare-hq.git","clone_url":"https://github.com/dimagi/commcare-hq.git","svn_url":"https://github.com/dimagi/commcare-hq","homepage":"http://www.commcarehq.org","size":181703,"stargazers_count":33,"watchers_count":33,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":49,"mirror_url":null,"open_issues_count":33,"forks":49,"open_issues":33,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/3811"},"html":{"href":"https://github.com/dimagi/commcare-hq/pull/3811"},"issue":{"href":"https://api.github.com/repos/dimagi/commcare-hq/issues/3811"},"comments":{"href":"https://api.github.com/repos/dimagi/commcare-hq/issues/3811/comments"},"review_comments":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/3811/comments"},"review_comment":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/3811/commits"},"statuses":{"href":"https://api.github.com/repos/dimagi/commcare-hq/statuses/aaca1dd66526327f4e2426fe65cdc15d546412fb"}}}}