{"action":"created","comment":{"url":"https://api.github.com/repos/yasp-dota/yasp/pulls/comments/45566919","id":45566919,"diff_hunk":"@@ -72,6 +72,11 @@ h2.inline-header\n           select.form-control(multiple name=\"lobby_type\" placeholder=\"Any Lobby\")#lobby_type\n             each entry in constants.lobby_type\n               option(value=entry.id, selected=(q.lobby_type && q.lobby_type[0]===entry.id))=entry.name\n+        .form-group\n+          label Region\n+          select.form-control(multiple name=\"region\" placeholder=\"Any Region\")#region\n+            each reg, name in constants.regions","path":"views/query.jade","position":7,"original_position":7,"commit_id":"6c90f84a4994645a8c4c6f5b7bf5056ebba19bf7","original_commit_id":"6c90f84a4994645a8c4c6f5b7bf5056ebba19bf7","user":{"login":"howardchung","id":3134520,"avatar_url":"https://avatars.githubusercontent.com/u/3134520?v=3","gravatar_id":"","url":"https://api.github.com/users/howardchung","html_url":"https://github.com/howardchung","followers_url":"https://api.github.com/users/howardchung/followers","following_url":"https://api.github.com/users/howardchung/following{/other_user}","gists_url":"https://api.github.com/users/howardchung/gists{/gist_id}","starred_url":"https://api.github.com/users/howardchung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howardchung/subscriptions","organizations_url":"https://api.github.com/users/howardchung/orgs","repos_url":"https://api.github.com/users/howardchung/repos","events_url":"https://api.github.com/users/howardchung/events{/privacy}","received_events_url":"https://api.github.com/users/howardchung/received_events","type":"User","site_admin":false},"body":"up to you if you want to use constants.regions or constants.region (id to string mapping).  The second might be easier to read","created_at":"2015-11-22T23:36:00Z","updated_at":"2015-11-22T23:36:00Z","html_url":"https://github.com/yasp-dota/yasp/pull/757#discussion_r45566919","pull_request_url":"https://api.github.com/repos/yasp-dota/yasp/pulls/757","_links":{"self":{"href":"https://api.github.com/repos/yasp-dota/yasp/pulls/comments/45566919"},"html":{"href":"https://github.com/yasp-dota/yasp/pull/757#discussion_r45566919"},"pull_request":{"href":"https://api.github.com/repos/yasp-dota/yasp/pulls/757"}}},"pull_request":{"url":"https://api.github.com/repos/yasp-dota/yasp/pulls/757","id":51312685,"html_url":"https://github.com/yasp-dota/yasp/pull/757","diff_url":"https://github.com/yasp-dota/yasp/pull/757.diff","patch_url":"https://github.com/yasp-dota/yasp/pull/757.patch","issue_url":"https://api.github.com/repos/yasp-dota/yasp/issues/757","number":757,"state":"open","locked":false,"title":"Regionfilter","user":{"login":"howardchung","id":3134520,"avatar_url":"https://avatars.githubusercontent.com/u/3134520?v=3","gravatar_id":"","url":"https://api.github.com/users/howardchung","html_url":"https://github.com/howardchung","followers_url":"https://api.github.com/users/howardchung/followers","following_url":"https://api.github.com/users/howardchung/following{/other_user}","gists_url":"https://api.github.com/users/howardchung/gists{/gist_id}","starred_url":"https://api.github.com/users/howardchung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howardchung/subscriptions","organizations_url":"https://api.github.com/users/howardchung/orgs","repos_url":"https://api.github.com/users/howardchung/repos","events_url":"https://api.github.com/users/howardchung/events{/privacy}","received_events_url":"https://api.github.com/users/howardchung/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-20T03:03:15Z","updated_at":"2015-11-22T23:36:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df522238e60c0680d51c386056ab3bb9d1043b7b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yasp-dota/yasp/pulls/757/commits","review_comments_url":"https://api.github.com/repos/yasp-dota/yasp/pulls/757/comments","review_comment_url":"https://api.github.com/repos/yasp-dota/yasp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yasp-dota/yasp/issues/757/comments","statuses_url":"https://api.github.com/repos/yasp-dota/yasp/statuses/6c90f84a4994645a8c4c6f5b7bf5056ebba19bf7","head":{"label":"WTFKr0:regionfilter","ref":"regionfilter","sha":"6c90f84a4994645a8c4c6f5b7bf5056ebba19bf7","user":{"login":"WTFKr0","id":15888093,"avatar_url":"https://avatars.githubusercontent.com/u/15888093?v=3","gravatar_id":"","url":"https://api.github.com/users/WTFKr0","html_url":"https://github.com/WTFKr0","followers_url":"https://api.github.com/users/WTFKr0/followers","following_url":"https://api.github.com/users/WTFKr0/following{/other_user}","gists_url":"https://api.github.com/users/WTFKr0/gists{/gist_id}","starred_url":"https://api.github.com/users/WTFKr0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WTFKr0/subscriptions","organizations_url":"https://api.github.com/users/WTFKr0/orgs","repos_url":"https://api.github.com/users/WTFKr0/repos","events_url":"https://api.github.com/users/WTFKr0/events{/privacy}","received_events_url":"https://api.github.com/users/WTFKr0/received_events","type":"User","site_admin":false},"repo":{"id":46350546,"name":"yasp","full_name":"WTFKr0/yasp","owner":{"login":"WTFKr0","id":15888093,"avatar_url":"https://avatars.githubusercontent.com/u/15888093?v=3","gravatar_id":"","url":"https://api.github.com/users/WTFKr0","html_url":"https://github.com/WTFKr0","followers_url":"https://api.github.com/users/WTFKr0/followers","following_url":"https://api.github.com/users/WTFKr0/following{/other_user}","gists_url":"https://api.github.com/users/WTFKr0/gists{/gist_id}","starred_url":"https://api.github.com/users/WTFKr0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WTFKr0/subscriptions","organizations_url":"https://api.github.com/users/WTFKr0/orgs","repos_url":"https://api.github.com/users/WTFKr0/repos","events_url":"https://api.github.com/users/WTFKr0/events{/privacy}","received_events_url":"https://api.github.com/users/WTFKr0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WTFKr0/yasp","description":"Open source Dota 2 replay parsing and statistics","fork":true,"url":"https://api.github.com/repos/WTFKr0/yasp","forks_url":"https://api.github.com/repos/WTFKr0/yasp/forks","keys_url":"https://api.github.com/repos/WTFKr0/yasp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WTFKr0/yasp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WTFKr0/yasp/teams","hooks_url":"https://api.github.com/repos/WTFKr0/yasp/hooks","issue_events_url":"https://api.github.com/repos/WTFKr0/yasp/issues/events{/number}","events_url":"https://api.github.com/repos/WTFKr0/yasp/events","assignees_url":"https://api.github.com/repos/WTFKr0/yasp/assignees{/user}","branches_url":"https://api.github.com/repos/WTFKr0/yasp/branches{/branch}","tags_url":"https://api.github.com/repos/WTFKr0/yasp/tags","blobs_url":"https://api.github.com/repos/WTFKr0/yasp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WTFKr0/yasp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WTFKr0/yasp/git/refs{/sha}","trees_url":"https://api.github.com/repos/WTFKr0/yasp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WTFKr0/yasp/statuses/{sha}","languages_url":"https://api.github.com/repos/WTFKr0/yasp/languages","stargazers_url":"https://api.github.com/repos/WTFKr0/yasp/stargazers","contributors_url":"https://api.github.com/repos/WTFKr0/yasp/contributors","subscribers_url":"https://api.github.com/repos/WTFKr0/yasp/subscribers","subscription_url":"https://api.github.com/repos/WTFKr0/yasp/subscription","commits_url":"https://api.github.com/repos/WTFKr0/yasp/commits{/sha}","git_commits_url":"https://api.github.com/repos/WTFKr0/yasp/git/commits{/sha}","comments_url":"https://api.github.com/repos/WTFKr0/yasp/comments{/number}","issue_comment_url":"https://api.github.com/repos/WTFKr0/yasp/issues/comments{/number}","contents_url":"https://api.github.com/repos/WTFKr0/yasp/contents/{+path}","compare_url":"https://api.github.com/repos/WTFKr0/yasp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WTFKr0/yasp/merges","archive_url":"https://api.github.com/repos/WTFKr0/yasp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WTFKr0/yasp/downloads","issues_url":"https://api.github.com/repos/WTFKr0/yasp/issues{/number}","pulls_url":"https://api.github.com/repos/WTFKr0/yasp/pulls{/number}","milestones_url":"https://api.github.com/repos/WTFKr0/yasp/milestones{/number}","notifications_url":"https://api.github.com/repos/WTFKr0/yasp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WTFKr0/yasp/labels{/name}","releases_url":"https://api.github.com/repos/WTFKr0/yasp/releases{/id}","created_at":"2015-11-17T13:59:13Z","updated_at":"2015-11-17T13:59:16Z","pushed_at":"2015-11-22T23:13:42Z","git_url":"git://github.com/WTFKr0/yasp.git","ssh_url":"git@github.com:WTFKr0/yasp.git","clone_url":"https://github.com/WTFKr0/yasp.git","svn_url":"https://github.com/WTFKr0/yasp","homepage":"http://yasp.co","size":20510,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yasp-dota:master","ref":"master","sha":"654f76e4431a5680406a7c49888e10181128f928","user":{"login":"yasp-dota","id":10602524,"avatar_url":"https://avatars.githubusercontent.com/u/10602524?v=3","gravatar_id":"","url":"https://api.github.com/users/yasp-dota","html_url":"https://github.com/yasp-dota","followers_url":"https://api.github.com/users/yasp-dota/followers","following_url":"https://api.github.com/users/yasp-dota/following{/other_user}","gists_url":"https://api.github.com/users/yasp-dota/gists{/gist_id}","starred_url":"https://api.github.com/users/yasp-dota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasp-dota/subscriptions","organizations_url":"https://api.github.com/users/yasp-dota/orgs","repos_url":"https://api.github.com/users/yasp-dota/repos","events_url":"https://api.github.com/users/yasp-dota/events{/privacy}","received_events_url":"https://api.github.com/users/yasp-dota/received_events","type":"Organization","site_admin":false},"repo":{"id":23482820,"name":"yasp","full_name":"yasp-dota/yasp","owner":{"login":"yasp-dota","id":10602524,"avatar_url":"https://avatars.githubusercontent.com/u/10602524?v=3","gravatar_id":"","url":"https://api.github.com/users/yasp-dota","html_url":"https://github.com/yasp-dota","followers_url":"https://api.github.com/users/yasp-dota/followers","following_url":"https://api.github.com/users/yasp-dota/following{/other_user}","gists_url":"https://api.github.com/users/yasp-dota/gists{/gist_id}","starred_url":"https://api.github.com/users/yasp-dota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasp-dota/subscriptions","organizations_url":"https://api.github.com/users/yasp-dota/orgs","repos_url":"https://api.github.com/users/yasp-dota/repos","events_url":"https://api.github.com/users/yasp-dota/events{/privacy}","received_events_url":"https://api.github.com/users/yasp-dota/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yasp-dota/yasp","description":"Open source Dota 2 replay parsing and statistics","fork":false,"url":"https://api.github.com/repos/yasp-dota/yasp","forks_url":"https://api.github.com/repos/yasp-dota/yasp/forks","keys_url":"https://api.github.com/repos/yasp-dota/yasp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yasp-dota/yasp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yasp-dota/yasp/teams","hooks_url":"https://api.github.com/repos/yasp-dota/yasp/hooks","issue_events_url":"https://api.github.com/repos/yasp-dota/yasp/issues/events{/number}","events_url":"https://api.github.com/repos/yasp-dota/yasp/events","assignees_url":"https://api.github.com/repos/yasp-dota/yasp/assignees{/user}","branches_url":"https://api.github.com/repos/yasp-dota/yasp/branches{/branch}","tags_url":"https://api.github.com/repos/yasp-dota/yasp/tags","blobs_url":"https://api.github.com/repos/yasp-dota/yasp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yasp-dota/yasp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yasp-dota/yasp/git/refs{/sha}","trees_url":"https://api.github.com/repos/yasp-dota/yasp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yasp-dota/yasp/statuses/{sha}","languages_url":"https://api.github.com/repos/yasp-dota/yasp/languages","stargazers_url":"https://api.github.com/repos/yasp-dota/yasp/stargazers","contributors_url":"https://api.github.com/repos/yasp-dota/yasp/contributors","subscribers_url":"https://api.github.com/repos/yasp-dota/yasp/subscribers","subscription_url":"https://api.github.com/repos/yasp-dota/yasp/subscription","commits_url":"https://api.github.com/repos/yasp-dota/yasp/commits{/sha}","git_commits_url":"https://api.github.com/repos/yasp-dota/yasp/git/commits{/sha}","comments_url":"https://api.github.com/repos/yasp-dota/yasp/comments{/number}","issue_comment_url":"https://api.github.com/repos/yasp-dota/yasp/issues/comments{/number}","contents_url":"https://api.github.com/repos/yasp-dota/yasp/contents/{+path}","compare_url":"https://api.github.com/repos/yasp-dota/yasp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yasp-dota/yasp/merges","archive_url":"https://api.github.com/repos/yasp-dota/yasp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yasp-dota/yasp/downloads","issues_url":"https://api.github.com/repos/yasp-dota/yasp/issues{/number}","pulls_url":"https://api.github.com/repos/yasp-dota/yasp/pulls{/number}","milestones_url":"https://api.github.com/repos/yasp-dota/yasp/milestones{/number}","notifications_url":"https://api.github.com/repos/yasp-dota/yasp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yasp-dota/yasp/labels{/name}","releases_url":"https://api.github.com/repos/yasp-dota/yasp/releases{/id}","created_at":"2014-08-30T02:11:35Z","updated_at":"2015-11-19T13:55:52Z","pushed_at":"2015-11-22T23:05:12Z","git_url":"git://github.com/yasp-dota/yasp.git","ssh_url":"git@github.com:yasp-dota/yasp.git","clone_url":"https://github.com/yasp-dota/yasp.git","svn_url":"https://github.com/yasp-dota/yasp","homepage":"http://yasp.co","size":116957,"stargazers_count":221,"watchers_count":221,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":59,"mirror_url":null,"open_issues_count":40,"forks":59,"open_issues":40,"watchers":221,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yasp-dota/yasp/pulls/757"},"html":{"href":"https://github.com/yasp-dota/yasp/pull/757"},"issue":{"href":"https://api.github.com/repos/yasp-dota/yasp/issues/757"},"comments":{"href":"https://api.github.com/repos/yasp-dota/yasp/issues/757/comments"},"review_comments":{"href":"https://api.github.com/repos/yasp-dota/yasp/pulls/757/comments"},"review_comment":{"href":"https://api.github.com/repos/yasp-dota/yasp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yasp-dota/yasp/pulls/757/commits"},"statuses":{"href":"https://api.github.com/repos/yasp-dota/yasp/statuses/6c90f84a4994645a8c4c6f5b7bf5056ebba19bf7"}}}}