{"action":"created","comment":{"url":"https://api.github.com/repos/onaio/gisida/pulls/comments/196068060","pull_request_review_id":129550149,"id":196068060,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjA2ODA2MA==","diff_hunk":"@@ -165,6 +181,22 @@ function processFormData(formData, indicatorField, aggregateOptions) {\n         // reduce sumTotal for current groupData\n         for (let x = 0; x < groupData.length; x += 1) {\n           sumTotal += parseInt(groupData[x][indicatorField] || 0, 10);\n+          const { parsedUID } = groupData[x];\n+          parsedLocName = parsedUID;","path":"src/connectors/ona-api/aggregateFormData.js","position":36,"original_position":44,"commit_id":"6645dcc977f6bb7d333dec0079fe510f867acc89","original_commit_id":"4de9d2314088affc4b57d36a9a50b7c219615933","user":{"login":"KipSigei","id":19689992,"node_id":"MDQ6VXNlcjE5Njg5OTky","avatar_url":"https://avatars1.githubusercontent.com/u/19689992?v=4","gravatar_id":"","url":"https://api.github.com/users/KipSigei","html_url":"https://github.com/KipSigei","followers_url":"https://api.github.com/users/KipSigei/followers","following_url":"https://api.github.com/users/KipSigei/following{/other_user}","gists_url":"https://api.github.com/users/KipSigei/gists{/gist_id}","starred_url":"https://api.github.com/users/KipSigei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KipSigei/subscriptions","organizations_url":"https://api.github.com/users/KipSigei/orgs","repos_url":"https://api.github.com/users/KipSigei/repos","events_url":"https://api.github.com/users/KipSigei/events{/privacy}","received_events_url":"https://api.github.com/users/KipSigei/received_events","type":"User","site_admin":false},"body":"we are getting the `parsedUID` from the groupData which is not exposed when building the  `currentPeriodaggregatedDataObj` which is outside the `groupData` loop so we are assigning it to a var which is defined outside that loop.","created_at":"2018-06-18T13:01:17Z","updated_at":"2018-06-18T13:01:17Z","html_url":"https://github.com/onaio/gisida/pull/168#discussion_r196068060","pull_request_url":"https://api.github.com/repos/onaio/gisida/pulls/168","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/onaio/gisida/pulls/comments/196068060"},"html":{"href":"https://github.com/onaio/gisida/pull/168#discussion_r196068060"},"pull_request":{"href":"https://api.github.com/repos/onaio/gisida/pulls/168"}},"in_reply_to_id":196052467},"pull_request":{"url":"https://api.github.com/repos/onaio/gisida/pulls/168","id":192732152,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNzMyMTUy","html_url":"https://github.com/onaio/gisida/pull/168","diff_url":"https://github.com/onaio/gisida/pull/168.diff","patch_url":"https://github.com/onaio/gisida/pull/168.patch","issue_url":"https://api.github.com/repos/onaio/gisida/issues/168","number":168,"state":"open","locked":false,"title":"Aggregated data popup fix","user":{"login":"KipSigei","id":19689992,"node_id":"MDQ6VXNlcjE5Njg5OTky","avatar_url":"https://avatars1.githubusercontent.com/u/19689992?v=4","gravatar_id":"","url":"https://api.github.com/users/KipSigei","html_url":"https://github.com/KipSigei","followers_url":"https://api.github.com/users/KipSigei/followers","following_url":"https://api.github.com/users/KipSigei/following{/other_user}","gists_url":"https://api.github.com/users/KipSigei/gists{/gist_id}","starred_url":"https://api.github.com/users/KipSigei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KipSigei/subscriptions","organizations_url":"https://api.github.com/users/KipSigei/orgs","repos_url":"https://api.github.com/users/KipSigei/repos","events_url":"https://api.github.com/users/KipSigei/events{/privacy}","received_events_url":"https://api.github.com/users/KipSigei/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-05T14:41:56Z","updated_at":"2018-06-18T13:01:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aacf56ee8db82a4808f584c48a6973f24172bc67","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/onaio/gisida/pulls/168/commits","review_comments_url":"https://api.github.com/repos/onaio/gisida/pulls/168/comments","review_comment_url":"https://api.github.com/repos/onaio/gisida/pulls/comments{/number}","comments_url":"https://api.github.com/repos/onaio/gisida/issues/168/comments","statuses_url":"https://api.github.com/repos/onaio/gisida/statuses/6645dcc977f6bb7d333dec0079fe510f867acc89","head":{"label":"onaio:aggregated-data-popup-fix","ref":"aggregated-data-popup-fix","sha":"6645dcc977f6bb7d333dec0079fe510f867acc89","user":{"login":"onaio","id":5450613,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NTA2MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5450613?v=4","gravatar_id":"","url":"https://api.github.com/users/onaio","html_url":"https://github.com/onaio","followers_url":"https://api.github.com/users/onaio/followers","following_url":"https://api.github.com/users/onaio/following{/other_user}","gists_url":"https://api.github.com/users/onaio/gists{/gist_id}","starred_url":"https://api.github.com/users/onaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onaio/subscriptions","organizations_url":"https://api.github.com/users/onaio/orgs","repos_url":"https://api.github.com/users/onaio/repos","events_url":"https://api.github.com/users/onaio/events{/privacy}","received_events_url":"https://api.github.com/users/onaio/received_events","type":"Organization","site_admin":false},"repo":{"id":105644578,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU2NDQ1Nzg=","name":"gisida","full_name":"onaio/gisida","owner":{"login":"onaio","id":5450613,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NTA2MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5450613?v=4","gravatar_id":"","url":"https://api.github.com/users/onaio","html_url":"https://github.com/onaio","followers_url":"https://api.github.com/users/onaio/followers","following_url":"https://api.github.com/users/onaio/following{/other_user}","gists_url":"https://api.github.com/users/onaio/gists{/gist_id}","starred_url":"https://api.github.com/users/onaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onaio/subscriptions","organizations_url":"https://api.github.com/users/onaio/orgs","repos_url":"https://api.github.com/users/onaio/repos","events_url":"https://api.github.com/users/onaio/events{/privacy}","received_events_url":"https://api.github.com/users/onaio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/onaio/gisida","description":"JavaScript library that converts MapSpec layers to beautiful, interactive maps using Mapbox GL","fork":false,"url":"https://api.github.com/repos/onaio/gisida","forks_url":"https://api.github.com/repos/onaio/gisida/forks","keys_url":"https://api.github.com/repos/onaio/gisida/keys{/key_id}","collaborators_url":"https://api.github.com/repos/onaio/gisida/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/onaio/gisida/teams","hooks_url":"https://api.github.com/repos/onaio/gisida/hooks","issue_events_url":"https://api.github.com/repos/onaio/gisida/issues/events{/number}","events_url":"https://api.github.com/repos/onaio/gisida/events","assignees_url":"https://api.github.com/repos/onaio/gisida/assignees{/user}","branches_url":"https://api.github.com/repos/onaio/gisida/branches{/branch}","tags_url":"https://api.github.com/repos/onaio/gisida/tags","blobs_url":"https://api.github.com/repos/onaio/gisida/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/onaio/gisida/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/onaio/gisida/git/refs{/sha}","trees_url":"https://api.github.com/repos/onaio/gisida/git/trees{/sha}","statuses_url":"https://api.github.com/repos/onaio/gisida/statuses/{sha}","languages_url":"https://api.github.com/repos/onaio/gisida/languages","stargazers_url":"https://api.github.com/repos/onaio/gisida/stargazers","contributors_url":"https://api.github.com/repos/onaio/gisida/contributors","subscribers_url":"https://api.github.com/repos/onaio/gisida/subscribers","subscription_url":"https://api.github.com/repos/onaio/gisida/subscription","commits_url":"https://api.github.com/repos/onaio/gisida/commits{/sha}","git_commits_url":"https://api.github.com/repos/onaio/gisida/git/commits{/sha}","comments_url":"https://api.github.com/repos/onaio/gisida/comments{/number}","issue_comment_url":"https://api.github.com/repos/onaio/gisida/issues/comments{/number}","contents_url":"https://api.github.com/repos/onaio/gisida/contents/{+path}","compare_url":"https://api.github.com/repos/onaio/gisida/compare/{base}...{head}","merges_url":"https://api.github.com/repos/onaio/gisida/merges","archive_url":"https://api.github.com/repos/onaio/gisida/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/onaio/gisida/downloads","issues_url":"https://api.github.com/repos/onaio/gisida/issues{/number}","pulls_url":"https://api.github.com/repos/onaio/gisida/pulls{/number}","milestones_url":"https://api.github.com/repos/onaio/gisida/milestones{/number}","notifications_url":"https://api.github.com/repos/onaio/gisida/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/onaio/gisida/labels{/name}","releases_url":"https://api.github.com/repos/onaio/gisida/releases{/id}","deployments_url":"https://api.github.com/repos/onaio/gisida/deployments","created_at":"2017-10-03T11:37:26Z","updated_at":"2018-06-13T13:38:26Z","pushed_at":"2018-06-18T12:53:12Z","git_url":"git://github.com/onaio/gisida.git","ssh_url":"git@github.com:onaio/gisida.git","clone_url":"https://github.com/onaio/gisida.git","svn_url":"https://github.com/onaio/gisida","homepage":"http://gisida.onalabs.org/","size":18650,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":57,"license":null,"forks":0,"open_issues":57,"watchers":1,"default_branch":"master"}},"base":{"label":"onaio:master","ref":"master","sha":"a6279c263a3d5671a333561641d09b8623fe2c43","user":{"login":"onaio","id":5450613,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NTA2MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5450613?v=4","gravatar_id":"","url":"https://api.github.com/users/onaio","html_url":"https://github.com/onaio","followers_url":"https://api.github.com/users/onaio/followers","following_url":"https://api.github.com/users/onaio/following{/other_user}","gists_url":"https://api.github.com/users/onaio/gists{/gist_id}","starred_url":"https://api.github.com/users/onaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onaio/subscriptions","organizations_url":"https://api.github.com/users/onaio/orgs","repos_url":"https://api.github.com/users/onaio/repos","events_url":"https://api.github.com/users/onaio/events{/privacy}","received_events_url":"https://api.github.com/users/onaio/received_events","type":"Organization","site_admin":false},"repo":{"id":105644578,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU2NDQ1Nzg=","name":"gisida","full_name":"onaio/gisida","owner":{"login":"onaio","id":5450613,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NTA2MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5450613?v=4","gravatar_id":"","url":"https://api.github.com/users/onaio","html_url":"https://github.com/onaio","followers_url":"https://api.github.com/users/onaio/followers","following_url":"https://api.github.com/users/onaio/following{/other_user}","gists_url":"https://api.github.com/users/onaio/gists{/gist_id}","starred_url":"https://api.github.com/users/onaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onaio/subscriptions","organizations_url":"https://api.github.com/users/onaio/orgs","repos_url":"https://api.github.com/users/onaio/repos","events_url":"https://api.github.com/users/onaio/events{/privacy}","received_events_url":"https://api.github.com/users/onaio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/onaio/gisida","description":"JavaScript library that converts MapSpec layers to beautiful, interactive maps using Mapbox GL","fork":false,"url":"https://api.github.com/repos/onaio/gisida","forks_url":"https://api.github.com/repos/onaio/gisida/forks","keys_url":"https://api.github.com/repos/onaio/gisida/keys{/key_id}","collaborators_url":"https://api.github.com/repos/onaio/gisida/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/onaio/gisida/teams","hooks_url":"https://api.github.com/repos/onaio/gisida/hooks","issue_events_url":"https://api.github.com/repos/onaio/gisida/issues/events{/number}","events_url":"https://api.github.com/repos/onaio/gisida/events","assignees_url":"https://api.github.com/repos/onaio/gisida/assignees{/user}","branches_url":"https://api.github.com/repos/onaio/gisida/branches{/branch}","tags_url":"https://api.github.com/repos/onaio/gisida/tags","blobs_url":"https://api.github.com/repos/onaio/gisida/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/onaio/gisida/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/onaio/gisida/git/refs{/sha}","trees_url":"https://api.github.com/repos/onaio/gisida/git/trees{/sha}","statuses_url":"https://api.github.com/repos/onaio/gisida/statuses/{sha}","languages_url":"https://api.github.com/repos/onaio/gisida/languages","stargazers_url":"https://api.github.com/repos/onaio/gisida/stargazers","contributors_url":"https://api.github.com/repos/onaio/gisida/contributors","subscribers_url":"https://api.github.com/repos/onaio/gisida/subscribers","subscription_url":"https://api.github.com/repos/onaio/gisida/subscription","commits_url":"https://api.github.com/repos/onaio/gisida/commits{/sha}","git_commits_url":"https://api.github.com/repos/onaio/gisida/git/commits{/sha}","comments_url":"https://api.github.com/repos/onaio/gisida/comments{/number}","issue_comment_url":"https://api.github.com/repos/onaio/gisida/issues/comments{/number}","contents_url":"https://api.github.com/repos/onaio/gisida/contents/{+path}","compare_url":"https://api.github.com/repos/onaio/gisida/compare/{base}...{head}","merges_url":"https://api.github.com/repos/onaio/gisida/merges","archive_url":"https://api.github.com/repos/onaio/gisida/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/onaio/gisida/downloads","issues_url":"https://api.github.com/repos/onaio/gisida/issues{/number}","pulls_url":"https://api.github.com/repos/onaio/gisida/pulls{/number}","milestones_url":"https://api.github.com/repos/onaio/gisida/milestones{/number}","notifications_url":"https://api.github.com/repos/onaio/gisida/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/onaio/gisida/labels{/name}","releases_url":"https://api.github.com/repos/onaio/gisida/releases{/id}","deployments_url":"https://api.github.com/repos/onaio/gisida/deployments","created_at":"2017-10-03T11:37:26Z","updated_at":"2018-06-13T13:38:26Z","pushed_at":"2018-06-18T12:53:12Z","git_url":"git://github.com/onaio/gisida.git","ssh_url":"git@github.com:onaio/gisida.git","clone_url":"https://github.com/onaio/gisida.git","svn_url":"https://github.com/onaio/gisida","homepage":"http://gisida.onalabs.org/","size":18650,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":57,"license":null,"forks":0,"open_issues":57,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/onaio/gisida/pulls/168"},"html":{"href":"https://github.com/onaio/gisida/pull/168"},"issue":{"href":"https://api.github.com/repos/onaio/gisida/issues/168"},"comments":{"href":"https://api.github.com/repos/onaio/gisida/issues/168/comments"},"review_comments":{"href":"https://api.github.com/repos/onaio/gisida/pulls/168/comments"},"review_comment":{"href":"https://api.github.com/repos/onaio/gisida/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/onaio/gisida/pulls/168/commits"},"statuses":{"href":"https://api.github.com/repos/onaio/gisida/statuses/6645dcc977f6bb7d333dec0079fe510f867acc89"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"KipSigei"}}