{"action":"created","comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/comments/224581036","pull_request_review_id":163984893,"id":224581036,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDU4MTAzNg==","diff_hunk":"@@ -1,9 +1,26 @@\n+hqImport(\"hqwebapp/js/initial_page_data\").get('user_types')\n hqDefine(\"reports/js/case_list\", ['jquery', 'analytix/js/kissmetrix'], function ($, kissAnalytics) {\n     $(function () {\n         if (document.location.href.match(/reports\\/case_list/)) {\n             $(document).on('click', 'td.case-name-link', function () {\n                 kissAnalytics.track.event(\"Clicked Case Name in Case List Report\");\n             });\n+            var user_types = hqImport(\"hqwebapp/js/initial_page_data\").get('user_types');","path":"corehq/apps/reports/static/reports/js/case_list.js","position":null,"original_position":8,"commit_id":"74a7933d911eab3375d99f171ab5b49f9218c4e9","original_commit_id":"1837c11ba31fd91b288ce03eb758bea983c64565","user":{"login":"pr33thi","id":35747290,"node_id":"MDQ6VXNlcjM1NzQ3Mjkw","avatar_url":"https://avatars3.githubusercontent.com/u/35747290?v=4","gravatar_id":"","url":"https://api.github.com/users/pr33thi","html_url":"https://github.com/pr33thi","followers_url":"https://api.github.com/users/pr33thi/followers","following_url":"https://api.github.com/users/pr33thi/following{/other_user}","gists_url":"https://api.github.com/users/pr33thi/gists{/gist_id}","starred_url":"https://api.github.com/users/pr33thi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pr33thi/subscriptions","organizations_url":"https://api.github.com/users/pr33thi/orgs","repos_url":"https://api.github.com/users/pr33thi/repos","events_url":"https://api.github.com/users/pr33thi/events{/privacy}","received_events_url":"https://api.github.com/users/pr33thi/received_events","type":"User","site_admin":false},"body":"https://github.com/dimagi/commcare-hq/pull/22079/commits/428d727fed2307f40b6b6b129fdc3fec446711a2","created_at":"2018-10-11T19:46:07Z","updated_at":"2018-10-11T19:46:07Z","html_url":"https://github.com/dimagi/commcare-hq/pull/22079#discussion_r224581036","pull_request_url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/22079","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/comments/224581036"},"html":{"href":"https://github.com/dimagi/commcare-hq/pull/22079#discussion_r224581036"},"pull_request":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/22079"}},"in_reply_to_id":224517406},"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/22079","id":222151330,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyMTUxMzMw","html_url":"https://github.com/dimagi/commcare-hq/pull/22079","diff_url":"https://github.com/dimagi/commcare-hq/pull/22079.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/22079.patch","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/22079","number":22079,"state":"open","locked":false,"title":"Add kissmetrics to filters on reports.","user":{"login":"pr33thi","id":35747290,"node_id":"MDQ6VXNlcjM1NzQ3Mjkw","avatar_url":"https://avatars3.githubusercontent.com/u/35747290?v=4","gravatar_id":"","url":"https://api.github.com/users/pr33thi","html_url":"https://github.com/pr33thi","followers_url":"https://api.github.com/users/pr33thi/followers","following_url":"https://api.github.com/users/pr33thi/following{/other_user}","gists_url":"https://api.github.com/users/pr33thi/gists{/gist_id}","starred_url":"https://api.github.com/users/pr33thi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pr33thi/subscriptions","organizations_url":"https://api.github.com/users/pr33thi/orgs","repos_url":"https://api.github.com/users/pr33thi/repos","events_url":"https://api.github.com/users/pr33thi/events{/privacy}","received_events_url":"https://api.github.com/users/pr33thi/received_events","type":"User","site_admin":false},"body":"This PR does the second and third tasks listed here:\r\nhttps://trello.com/c/0IyuFW37/53-ability-to-search-commcare-data-by-de-activated-users#comment-5bb0c606d5c5b865131dd37d\r\n\r\n@orangejenny \r\ncode buddy @jmtroth0 ","created_at":"2018-10-11T14:04:42Z","updated_at":"2018-10-11T19:46:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f490f8463b81870b2e141e9888a64be0a5d134fc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/22079/commits","review_comments_url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/22079/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/22079/comments","statuses_url":"https://api.github.com/repos/dimagi/commcare-hq/statuses/74a7933d911eab3375d99f171ab5b49f9218c4e9","head":{"label":"dimagi:pv/report-metrics","ref":"pv/report-metrics","sha":"74a7933d911eab3375d99f171ab5b49f9218c4e9","user":{"login":"dimagi","id":94514,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0NTE0","avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","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,"node_id":"MDEwOlJlcG9zaXRvcnkyNDcyNzg=","name":"commcare-hq","full_name":"dimagi/commcare-hq","private":false,"owner":{"login":"dimagi","id":94514,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0NTE0","avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","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},"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}","deployments_url":"https://api.github.com/repos/dimagi/commcare-hq/deployments","created_at":"2009-07-09T17:00:07Z","updated_at":"2018-10-11T18:34:03Z","pushed_at":"2018-10-11T19:44:22Z","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":"https://www.commcarehq.org","size":466540,"stargazers_count":319,"watchers_count":319,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":123,"mirror_url":null,"archived":false,"open_issues_count":79,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":123,"open_issues":79,"watchers":319,"default_branch":"master"}},"base":{"label":"dimagi:master","ref":"master","sha":"bec77c66f7cd93e091d0f6b594ba397c359a6136","user":{"login":"dimagi","id":94514,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0NTE0","avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","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,"node_id":"MDEwOlJlcG9zaXRvcnkyNDcyNzg=","name":"commcare-hq","full_name":"dimagi/commcare-hq","private":false,"owner":{"login":"dimagi","id":94514,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0NTE0","avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","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},"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}","deployments_url":"https://api.github.com/repos/dimagi/commcare-hq/deployments","created_at":"2009-07-09T17:00:07Z","updated_at":"2018-10-11T18:34:03Z","pushed_at":"2018-10-11T19:44:22Z","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":"https://www.commcarehq.org","size":466540,"stargazers_count":319,"watchers_count":319,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":123,"mirror_url":null,"archived":false,"open_issues_count":79,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":123,"open_issues":79,"watchers":319,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/22079"},"html":{"href":"https://github.com/dimagi/commcare-hq/pull/22079"},"issue":{"href":"https://api.github.com/repos/dimagi/commcare-hq/issues/22079"},"comments":{"href":"https://api.github.com/repos/dimagi/commcare-hq/issues/22079/comments"},"review_comments":{"href":"https://api.github.com/repos/dimagi/commcare-hq/pulls/22079/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/22079/commits"},"statuses":{"href":"https://api.github.com/repos/dimagi/commcare-hq/statuses/74a7933d911eab3375d99f171ab5b49f9218c4e9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"pr33thi"}}