{"action":"created","comment":{"url":"https://api.github.com/repos/onaio/gisida/pulls/comments/198735363","pull_request_review_id":132718213,"id":198735363,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODczNTM2Mw==","diff_hunk":"@@ -185,15 +214,21 @@ function processFormData(formData, indicatorField, aggregateOptions) {\n           parsedLocName = parsedUID;\n \n           if (extraProps && extraProps.length) {\n-            extraProps.forEach((e, y) => {\n-              extraPropsSumTotal[y] += parseInt(groupData[x][e] || 0, 10);\n-            });\n+            for (let y = 0; y < extraProps.length; y += 1) {\n+              const e = extraProps[y];\n+              if (numberProps.indexOf(e) !== -1) {\n+                const int = parseInt(groupData[x][e] || 0, 10);\n+                extraPropsSumTotal[e] += int;","path":"src/connectors/ona-api/aggregateFormData.js","position":null,"original_position":116,"commit_id":"4ca9cabe8d26e472fb78ea13d5de787201604653","original_commit_id":"168c67c1d13f9181b43dc07555185a082b485f11","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":"addressed","created_at":"2018-06-28T07:41:31Z","updated_at":"2018-06-28T07:41:31Z","html_url":"https://github.com/onaio/gisida/pull/174#discussion_r198735363","pull_request_url":"https://api.github.com/repos/onaio/gisida/pulls/174","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/onaio/gisida/pulls/comments/198735363"},"html":{"href":"https://github.com/onaio/gisida/pull/174#discussion_r198735363"},"pull_request":{"href":"https://api.github.com/repos/onaio/gisida/pulls/174"}},"in_reply_to_id":198733526},"pull_request":{"url":"https://api.github.com/repos/onaio/gisida/pulls/174","id":196131325,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2MTMxMzI1","html_url":"https://github.com/onaio/gisida/pull/174","diff_url":"https://github.com/onaio/gisida/pull/174.diff","patch_url":"https://github.com/onaio/gisida/pull/174.patch","issue_url":"https://api.github.com/repos/onaio/gisida/issues/174","number":174,"state":"open","locked":false,"title":"Add circle layers","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-20T13:04:50Z","updated_at":"2018-06-28T07:41:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"46dde21a4a31c808a6efdd1322d04e13deafb351","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/onaio/gisida/pulls/174/commits","review_comments_url":"https://api.github.com/repos/onaio/gisida/pulls/174/comments","review_comment_url":"https://api.github.com/repos/onaio/gisida/pulls/comments{/number}","comments_url":"https://api.github.com/repos/onaio/gisida/issues/174/comments","statuses_url":"https://api.github.com/repos/onaio/gisida/statuses/4ca9cabe8d26e472fb78ea13d5de787201604653","head":{"label":"onaio:add-circle-layers","ref":"add-circle-layers","sha":"4ca9cabe8d26e472fb78ea13d5de787201604653","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-26T16:16:28Z","pushed_at":"2018-06-28T07:41:22Z","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":18720,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":57,"license":null,"forks":0,"open_issues":57,"watchers":2,"default_branch":"master"}},"base":{"label":"onaio:add-multi-level-menu-support","ref":"add-multi-level-menu-support","sha":"8804b8dc904e42c623b460d3174a333499a8f0dc","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-26T16:16:28Z","pushed_at":"2018-06-28T07:41:22Z","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":18720,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":57,"license":null,"forks":0,"open_issues":57,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/onaio/gisida/pulls/174"},"html":{"href":"https://github.com/onaio/gisida/pull/174"},"issue":{"href":"https://api.github.com/repos/onaio/gisida/issues/174"},"comments":{"href":"https://api.github.com/repos/onaio/gisida/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/onaio/gisida/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/onaio/gisida/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/onaio/gisida/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/onaio/gisida/statuses/4ca9cabe8d26e472fb78ea13d5de787201604653"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"KipSigei"}}