{"action":"created","comment":{"url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls/comments/56812511","id":56812511,"diff_hunk":"@@ -14,11 +14,12 @@ Template.issues.events({\n     // Get values of form fields\n     const username = $(\"#username\").val();\n     const repository = $(\"#repository\").val();\n+    const status = $(\"#status\").val();\n \n     // Make sure values are present\n-    if (username && repository) {\n+    if (username && repository && status) {\n       // Get repository issues, from server method\n-      Meteor.call(\"getRepoIssues\", username, repository, function (error, issues) {\n+      Meteor.call(\"getRepoIssues\", username, repository, status, function (error, issues) {","path":"client/issues/issues.js","position":11,"original_position":11,"commit_id":"eeba0c18aaa2913524c539fafb11d1ecb446aa90","original_commit_id":"eeba0c18aaa2913524c539fafb11d1ecb446aa90","user":{"login":"jykae","id":293452,"avatar_url":"https://avatars.githubusercontent.com/u/293452?v=3","gravatar_id":"","url":"https://api.github.com/users/jykae","html_url":"https://github.com/jykae","followers_url":"https://api.github.com/users/jykae/followers","following_url":"https://api.github.com/users/jykae/following{/other_user}","gists_url":"https://api.github.com/users/jykae/gists{/gist_id}","starred_url":"https://api.github.com/users/jykae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jykae/subscriptions","organizations_url":"https://api.github.com/users/jykae/orgs","repos_url":"https://api.github.com/users/jykae/repos","events_url":"https://api.github.com/users/jykae/events{/privacy}","received_events_url":"https://api.github.com/users/jykae/received_events","type":"User","site_admin":false},"body":"@brylie good idea, or \"options\" probably better as they are options for a Meteor method.","created_at":"2016-03-21T12:14:04Z","updated_at":"2016-03-21T12:14:04Z","html_url":"https://github.com/Digipalvelutehdas/github-viewer/pull/19#discussion_r56812511","pull_request_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls/comments/56812511"},"html":{"href":"https://github.com/Digipalvelutehdas/github-viewer/pull/19#discussion_r56812511"},"pull_request":{"href":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls/19","id":63552291,"html_url":"https://github.com/Digipalvelutehdas/github-viewer/pull/19","diff_url":"https://github.com/Digipalvelutehdas/github-viewer/pull/19.diff","patch_url":"https://github.com/Digipalvelutehdas/github-viewer/pull/19.patch","issue_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/issues/19","number":19,"state":"open","locked":false,"title":"7 issue status","user":{"login":"jykae","id":293452,"avatar_url":"https://avatars.githubusercontent.com/u/293452?v=3","gravatar_id":"","url":"https://api.github.com/users/jykae","html_url":"https://github.com/jykae","followers_url":"https://api.github.com/users/jykae/followers","following_url":"https://api.github.com/users/jykae/following{/other_user}","gists_url":"https://api.github.com/users/jykae/gists{/gist_id}","starred_url":"https://api.github.com/users/jykae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jykae/subscriptions","organizations_url":"https://api.github.com/users/jykae/orgs","repos_url":"https://api.github.com/users/jykae/repos","events_url":"https://api.github.com/users/jykae/events{/privacy}","received_events_url":"https://api.github.com/users/jykae/received_events","type":"User","site_admin":false},"body":"Closes #7 \r\n\r\n## Proposed changes\r\n* status filter for repo issues\r\n* total open issues count for repo\r\n\r\n@Digipalvelutehdas/dipor-team please review","created_at":"2016-03-21T11:49:48Z","updated_at":"2016-03-21T12:14:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4032e15befbf62167223b7698ad469dd8e767a80","assignee":{"login":"brylie","id":17307,"avatar_url":"https://avatars.githubusercontent.com/u/17307?v=3","gravatar_id":"","url":"https://api.github.com/users/brylie","html_url":"https://github.com/brylie","followers_url":"https://api.github.com/users/brylie/followers","following_url":"https://api.github.com/users/brylie/following{/other_user}","gists_url":"https://api.github.com/users/brylie/gists{/gist_id}","starred_url":"https://api.github.com/users/brylie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brylie/subscriptions","organizations_url":"https://api.github.com/users/brylie/orgs","repos_url":"https://api.github.com/users/brylie/repos","events_url":"https://api.github.com/users/brylie/events{/privacy}","received_events_url":"https://api.github.com/users/brylie/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/milestones/2","html_url":"https://github.com/Digipalvelutehdas/github-viewer/milestones/Sprint%203","labels_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/milestones/2/labels","id":1656994,"number":2,"title":"Sprint 3","description":"Dipor sprint 3: 21 March - 1 April 2016","creator":{"login":"bajiat","id":11626388,"avatar_url":"https://avatars.githubusercontent.com/u/11626388?v=3","gravatar_id":"","url":"https://api.github.com/users/bajiat","html_url":"https://github.com/bajiat","followers_url":"https://api.github.com/users/bajiat/followers","following_url":"https://api.github.com/users/bajiat/following{/other_user}","gists_url":"https://api.github.com/users/bajiat/gists{/gist_id}","starred_url":"https://api.github.com/users/bajiat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bajiat/subscriptions","organizations_url":"https://api.github.com/users/bajiat/orgs","repos_url":"https://api.github.com/users/bajiat/repos","events_url":"https://api.github.com/users/bajiat/events{/privacy}","received_events_url":"https://api.github.com/users/bajiat/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2016-03-21T11:03:23Z","updated_at":"2016-03-21T11:49:48Z","due_on":"2016-03-31T21:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls/19/commits","review_comments_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls/19/comments","review_comment_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/issues/19/comments","statuses_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/statuses/eeba0c18aaa2913524c539fafb11d1ecb446aa90","head":{"label":"Digipalvelutehdas:7-issue-status","ref":"7-issue-status","sha":"eeba0c18aaa2913524c539fafb11d1ecb446aa90","user":{"login":"Digipalvelutehdas","id":12421888,"avatar_url":"https://avatars.githubusercontent.com/u/12421888?v=3","gravatar_id":"","url":"https://api.github.com/users/Digipalvelutehdas","html_url":"https://github.com/Digipalvelutehdas","followers_url":"https://api.github.com/users/Digipalvelutehdas/followers","following_url":"https://api.github.com/users/Digipalvelutehdas/following{/other_user}","gists_url":"https://api.github.com/users/Digipalvelutehdas/gists{/gist_id}","starred_url":"https://api.github.com/users/Digipalvelutehdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Digipalvelutehdas/subscriptions","organizations_url":"https://api.github.com/users/Digipalvelutehdas/orgs","repos_url":"https://api.github.com/users/Digipalvelutehdas/repos","events_url":"https://api.github.com/users/Digipalvelutehdas/events{/privacy}","received_events_url":"https://api.github.com/users/Digipalvelutehdas/received_events","type":"Organization","site_admin":false},"repo":{"id":53932987,"name":"github-viewer","full_name":"Digipalvelutehdas/github-viewer","owner":{"login":"Digipalvelutehdas","id":12421888,"avatar_url":"https://avatars.githubusercontent.com/u/12421888?v=3","gravatar_id":"","url":"https://api.github.com/users/Digipalvelutehdas","html_url":"https://github.com/Digipalvelutehdas","followers_url":"https://api.github.com/users/Digipalvelutehdas/followers","following_url":"https://api.github.com/users/Digipalvelutehdas/following{/other_user}","gists_url":"https://api.github.com/users/Digipalvelutehdas/gists{/gist_id}","starred_url":"https://api.github.com/users/Digipalvelutehdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Digipalvelutehdas/subscriptions","organizations_url":"https://api.github.com/users/Digipalvelutehdas/orgs","repos_url":"https://api.github.com/users/Digipalvelutehdas/repos","events_url":"https://api.github.com/users/Digipalvelutehdas/events{/privacy}","received_events_url":"https://api.github.com/users/Digipalvelutehdas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Digipalvelutehdas/github-viewer","description":"Test project to fetch and display information about a Github repository","fork":false,"url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer","forks_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/forks","keys_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/teams","hooks_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/hooks","issue_events_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/issues/events{/number}","events_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/events","assignees_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/assignees{/user}","branches_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/branches{/branch}","tags_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/tags","blobs_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/statuses/{sha}","languages_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/languages","stargazers_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/stargazers","contributors_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/contributors","subscribers_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/subscribers","subscription_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/subscription","commits_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/contents/{+path}","compare_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/merges","archive_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/downloads","issues_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/issues{/number}","pulls_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls{/number}","milestones_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/milestones{/number}","notifications_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/labels{/name}","releases_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/releases{/id}","deployments_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/deployments","created_at":"2016-03-15T09:51:57Z","updated_at":"2016-03-16T12:13:30Z","pushed_at":"2016-03-21T11:49:49Z","git_url":"git://github.com/Digipalvelutehdas/github-viewer.git","ssh_url":"git@github.com:Digipalvelutehdas/github-viewer.git","clone_url":"https://github.com/Digipalvelutehdas/github-viewer.git","svn_url":"https://github.com/Digipalvelutehdas/github-viewer","homepage":null,"size":123,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"develop"}},"base":{"label":"Digipalvelutehdas:develop","ref":"develop","sha":"6cfb1e68bea6c5c56035c3ecb6adf9408873b4e7","user":{"login":"Digipalvelutehdas","id":12421888,"avatar_url":"https://avatars.githubusercontent.com/u/12421888?v=3","gravatar_id":"","url":"https://api.github.com/users/Digipalvelutehdas","html_url":"https://github.com/Digipalvelutehdas","followers_url":"https://api.github.com/users/Digipalvelutehdas/followers","following_url":"https://api.github.com/users/Digipalvelutehdas/following{/other_user}","gists_url":"https://api.github.com/users/Digipalvelutehdas/gists{/gist_id}","starred_url":"https://api.github.com/users/Digipalvelutehdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Digipalvelutehdas/subscriptions","organizations_url":"https://api.github.com/users/Digipalvelutehdas/orgs","repos_url":"https://api.github.com/users/Digipalvelutehdas/repos","events_url":"https://api.github.com/users/Digipalvelutehdas/events{/privacy}","received_events_url":"https://api.github.com/users/Digipalvelutehdas/received_events","type":"Organization","site_admin":false},"repo":{"id":53932987,"name":"github-viewer","full_name":"Digipalvelutehdas/github-viewer","owner":{"login":"Digipalvelutehdas","id":12421888,"avatar_url":"https://avatars.githubusercontent.com/u/12421888?v=3","gravatar_id":"","url":"https://api.github.com/users/Digipalvelutehdas","html_url":"https://github.com/Digipalvelutehdas","followers_url":"https://api.github.com/users/Digipalvelutehdas/followers","following_url":"https://api.github.com/users/Digipalvelutehdas/following{/other_user}","gists_url":"https://api.github.com/users/Digipalvelutehdas/gists{/gist_id}","starred_url":"https://api.github.com/users/Digipalvelutehdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Digipalvelutehdas/subscriptions","organizations_url":"https://api.github.com/users/Digipalvelutehdas/orgs","repos_url":"https://api.github.com/users/Digipalvelutehdas/repos","events_url":"https://api.github.com/users/Digipalvelutehdas/events{/privacy}","received_events_url":"https://api.github.com/users/Digipalvelutehdas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Digipalvelutehdas/github-viewer","description":"Test project to fetch and display information about a Github repository","fork":false,"url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer","forks_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/forks","keys_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/teams","hooks_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/hooks","issue_events_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/issues/events{/number}","events_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/events","assignees_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/assignees{/user}","branches_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/branches{/branch}","tags_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/tags","blobs_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/statuses/{sha}","languages_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/languages","stargazers_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/stargazers","contributors_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/contributors","subscribers_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/subscribers","subscription_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/subscription","commits_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/contents/{+path}","compare_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/merges","archive_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/downloads","issues_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/issues{/number}","pulls_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls{/number}","milestones_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/milestones{/number}","notifications_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/labels{/name}","releases_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/releases{/id}","deployments_url":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/deployments","created_at":"2016-03-15T09:51:57Z","updated_at":"2016-03-16T12:13:30Z","pushed_at":"2016-03-21T11:49:49Z","git_url":"git://github.com/Digipalvelutehdas/github-viewer.git","ssh_url":"git@github.com:Digipalvelutehdas/github-viewer.git","clone_url":"https://github.com/Digipalvelutehdas/github-viewer.git","svn_url":"https://github.com/Digipalvelutehdas/github-viewer","homepage":null,"size":123,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls/19"},"html":{"href":"https://github.com/Digipalvelutehdas/github-viewer/pull/19"},"issue":{"href":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/issues/19"},"comments":{"href":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/Digipalvelutehdas/github-viewer/statuses/eeba0c18aaa2913524c539fafb11d1ecb446aa90"}}}}