{"action":"created","comment":{"url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/pulls/comments/184703930","pull_request_review_id":115958131,"id":184703930,"diff_hunk":"@@ -197,9 +197,16 @@ export default Mn.View.extend({\n     $('#modal-region').append(this.priorityDialog.render().el);\n   },\n \n+  isAttainment(data){\n+    return data.is_attainment === false;\n+  },\n+\n   handleShowFamilyMap() {\n \n-    if(this.model.attributes.indicators_priorities.length <= 0 && (this.model.attributes.count_red_indicators>0 || this.model.attributes.count_yellow_indicators>0)){\n+   let countPriorities = this.model.attributes.indicators_priorities.filter(this.isAttainment);\n+\n+    if(countPriorities.length <= 0 && (this.model.attributes.count_red_indicators + this.model.attributes.count_yellow_indicators) >= countPriorities.length){","path":"src/app/snapshots/list/item/view.js","position":null,"original_position":22,"commit_id":"afa4aab7aebed1d4ee60eb6470dc30a73ee2bdc6","original_commit_id":"fdaecf005d8da72f51513dff3244938c48b7483e","user":{"login":"mcespedeso","id":3491970,"avatar_url":"https://avatars2.githubusercontent.com/u/3491970?v=4","gravatar_id":"","url":"https://api.github.com/users/mcespedeso","html_url":"https://github.com/mcespedeso","followers_url":"https://api.github.com/users/mcespedeso/followers","following_url":"https://api.github.com/users/mcespedeso/following{/other_user}","gists_url":"https://api.github.com/users/mcespedeso/gists{/gist_id}","starred_url":"https://api.github.com/users/mcespedeso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcespedeso/subscriptions","organizations_url":"https://api.github.com/users/mcespedeso/orgs","repos_url":"https://api.github.com/users/mcespedeso/repos","events_url":"https://api.github.com/users/mcespedeso/events{/privacy}","received_events_url":"https://api.github.com/users/mcespedeso/received_events","type":"User","site_admin":false},"body":"Corregido @rodrigojv !","created_at":"2018-04-27T14:27:03Z","updated_at":"2018-04-27T14:27:03Z","html_url":"https://github.com/FundacionParaguaya/fp-psp-frontend/pull/160#discussion_r184703930","pull_request_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/pulls/160","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/pulls/comments/184703930"},"html":{"href":"https://github.com/FundacionParaguaya/fp-psp-frontend/pull/160#discussion_r184703930"},"pull_request":{"href":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/pulls/160"}},"in_reply_to_id":184697690},"pull_request":{"url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/pulls/160","id":183518955,"html_url":"https://github.com/FundacionParaguaya/fp-psp-frontend/pull/160","diff_url":"https://github.com/FundacionParaguaya/fp-psp-frontend/pull/160.diff","patch_url":"https://github.com/FundacionParaguaya/fp-psp-frontend/pull/160.patch","issue_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/issues/160","number":160,"state":"open","locked":false,"title":"Prioritize at least 3 indicators","user":{"login":"mcespedeso","id":3491970,"avatar_url":"https://avatars2.githubusercontent.com/u/3491970?v=4","gravatar_id":"","url":"https://api.github.com/users/mcespedeso","html_url":"https://github.com/mcespedeso","followers_url":"https://api.github.com/users/mcespedeso/followers","following_url":"https://api.github.com/users/mcespedeso/following{/other_user}","gists_url":"https://api.github.com/users/mcespedeso/gists{/gist_id}","starred_url":"https://api.github.com/users/mcespedeso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcespedeso/subscriptions","organizations_url":"https://api.github.com/users/mcespedeso/orgs","repos_url":"https://api.github.com/users/mcespedeso/repos","events_url":"https://api.github.com/users/mcespedeso/events{/privacy}","received_events_url":"https://api.github.com/users/mcespedeso/received_events","type":"User","site_admin":false},"body":"Priorizar una cantidad de indicadores en el mapa de vida al finalizar la encuesta de acuerdo a un parámetro de cantidad establecida","created_at":"2018-04-23T18:27:44Z","updated_at":"2018-04-27T14:27:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08d4ea60f04953e82036b6432ead590fdfcc2022","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/pulls/160/commits","review_comments_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/pulls/160/comments","review_comment_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/issues/160/comments","statuses_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/statuses/afa4aab7aebed1d4ee60eb6470dc30a73ee2bdc6","head":{"label":"mcespedeso:FPPSP-254","ref":"FPPSP-254","sha":"afa4aab7aebed1d4ee60eb6470dc30a73ee2bdc6","user":{"login":"mcespedeso","id":3491970,"avatar_url":"https://avatars2.githubusercontent.com/u/3491970?v=4","gravatar_id":"","url":"https://api.github.com/users/mcespedeso","html_url":"https://github.com/mcespedeso","followers_url":"https://api.github.com/users/mcespedeso/followers","following_url":"https://api.github.com/users/mcespedeso/following{/other_user}","gists_url":"https://api.github.com/users/mcespedeso/gists{/gist_id}","starred_url":"https://api.github.com/users/mcespedeso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcespedeso/subscriptions","organizations_url":"https://api.github.com/users/mcespedeso/orgs","repos_url":"https://api.github.com/users/mcespedeso/repos","events_url":"https://api.github.com/users/mcespedeso/events{/privacy}","received_events_url":"https://api.github.com/users/mcespedeso/received_events","type":"User","site_admin":false},"repo":{"id":112487716,"name":"fp-psp-frontend","full_name":"mcespedeso/fp-psp-frontend","owner":{"login":"mcespedeso","id":3491970,"avatar_url":"https://avatars2.githubusercontent.com/u/3491970?v=4","gravatar_id":"","url":"https://api.github.com/users/mcespedeso","html_url":"https://github.com/mcespedeso","followers_url":"https://api.github.com/users/mcespedeso/followers","following_url":"https://api.github.com/users/mcespedeso/following{/other_user}","gists_url":"https://api.github.com/users/mcespedeso/gists{/gist_id}","starred_url":"https://api.github.com/users/mcespedeso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcespedeso/subscriptions","organizations_url":"https://api.github.com/users/mcespedeso/orgs","repos_url":"https://api.github.com/users/mcespedeso/repos","events_url":"https://api.github.com/users/mcespedeso/events{/privacy}","received_events_url":"https://api.github.com/users/mcespedeso/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mcespedeso/fp-psp-frontend","description":"Single Page Application working as a web client for https://github.com/FundacionParaguaya/FP-PSP-SERVER","fork":true,"url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend","forks_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/forks","keys_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/teams","hooks_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/hooks","issue_events_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/events","assignees_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/tags","blobs_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/languages","stargazers_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/stargazers","contributors_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/contributors","subscribers_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/subscribers","subscription_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/subscription","commits_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/merges","archive_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/downloads","issues_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/labels{/name}","releases_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/mcespedeso/fp-psp-frontend/deployments","created_at":"2017-11-29T14:47:33Z","updated_at":"2017-11-29T14:47:35Z","pushed_at":"2018-04-27T14:26:17Z","git_url":"git://github.com/mcespedeso/fp-psp-frontend.git","ssh_url":"git@github.com:mcespedeso/fp-psp-frontend.git","clone_url":"https://github.com/mcespedeso/fp-psp-frontend.git","svn_url":"https://github.com/mcespedeso/fp-psp-frontend","homepage":"","size":8436,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FundacionParaguaya:develop","ref":"develop","sha":"c81776d7de2d1ba84b581eae3a470afe4e1a26ab","user":{"login":"FundacionParaguaya","id":30843927,"avatar_url":"https://avatars3.githubusercontent.com/u/30843927?v=4","gravatar_id":"","url":"https://api.github.com/users/FundacionParaguaya","html_url":"https://github.com/FundacionParaguaya","followers_url":"https://api.github.com/users/FundacionParaguaya/followers","following_url":"https://api.github.com/users/FundacionParaguaya/following{/other_user}","gists_url":"https://api.github.com/users/FundacionParaguaya/gists{/gist_id}","starred_url":"https://api.github.com/users/FundacionParaguaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FundacionParaguaya/subscriptions","organizations_url":"https://api.github.com/users/FundacionParaguaya/orgs","repos_url":"https://api.github.com/users/FundacionParaguaya/repos","events_url":"https://api.github.com/users/FundacionParaguaya/events{/privacy}","received_events_url":"https://api.github.com/users/FundacionParaguaya/received_events","type":"Organization","site_admin":false},"repo":{"id":101509695,"name":"fp-psp-frontend","full_name":"FundacionParaguaya/fp-psp-frontend","owner":{"login":"FundacionParaguaya","id":30843927,"avatar_url":"https://avatars3.githubusercontent.com/u/30843927?v=4","gravatar_id":"","url":"https://api.github.com/users/FundacionParaguaya","html_url":"https://github.com/FundacionParaguaya","followers_url":"https://api.github.com/users/FundacionParaguaya/followers","following_url":"https://api.github.com/users/FundacionParaguaya/following{/other_user}","gists_url":"https://api.github.com/users/FundacionParaguaya/gists{/gist_id}","starred_url":"https://api.github.com/users/FundacionParaguaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FundacionParaguaya/subscriptions","organizations_url":"https://api.github.com/users/FundacionParaguaya/orgs","repos_url":"https://api.github.com/users/FundacionParaguaya/repos","events_url":"https://api.github.com/users/FundacionParaguaya/events{/privacy}","received_events_url":"https://api.github.com/users/FundacionParaguaya/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FundacionParaguaya/fp-psp-frontend","description":"Single Page Application working as a web client for https://github.com/FundacionParaguaya/FP-PSP-SERVER","fork":false,"url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend","forks_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/forks","keys_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/teams","hooks_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/hooks","issue_events_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/events","assignees_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/tags","blobs_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/languages","stargazers_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/stargazers","contributors_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/contributors","subscribers_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/subscribers","subscription_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/subscription","commits_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/merges","archive_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/downloads","issues_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/labels{/name}","releases_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/deployments","created_at":"2017-08-26T19:53:55Z","updated_at":"2018-04-20T13:45:59Z","pushed_at":"2018-04-27T14:26:19Z","git_url":"git://github.com/FundacionParaguaya/fp-psp-frontend.git","ssh_url":"git@github.com:FundacionParaguaya/fp-psp-frontend.git","clone_url":"https://github.com/FundacionParaguaya/fp-psp-frontend.git","svn_url":"https://github.com/FundacionParaguaya/fp-psp-frontend","homepage":"","size":8404,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":11,"open_issues":4,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/pulls/160"},"html":{"href":"https://github.com/FundacionParaguaya/fp-psp-frontend/pull/160"},"issue":{"href":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/issues/160"},"comments":{"href":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/issues/160/comments"},"review_comments":{"href":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/pulls/160/comments"},"review_comment":{"href":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/pulls/160/commits"},"statuses":{"href":"https://api.github.com/repos/FundacionParaguaya/fp-psp-frontend/statuses/afa4aab7aebed1d4ee60eb6470dc30a73ee2bdc6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mcespedeso"}}