{"action":"created","comment":{"url":"https://api.github.com/repos/hasgeek/hasjob/pulls/comments/60897997","id":60897997,"diff_hunk":"@@ -770,13 +770,17 @@ def inject_filter_options():\n     # Don't compute filter choices for paginated results\n     if index_is_paginated():\n         return dict()","path":"hasjob/views/helper.py","position":3,"original_position":3,"commit_id":"f1eab94a42e13b75ae5520d6732cd9fb40cc7798","original_commit_id":"f1eab94a42e13b75ae5520d6732cd9fb40cc7798","user":{"login":"jace","id":26695,"avatar_url":"https://avatars.githubusercontent.com/u/26695?v=3","gravatar_id":"","url":"https://api.github.com/users/jace","html_url":"https://github.com/jace","followers_url":"https://api.github.com/users/jace/followers","following_url":"https://api.github.com/users/jace/following{/other_user}","gists_url":"https://api.github.com/users/jace/gists{/gist_id}","starred_url":"https://api.github.com/users/jace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jace/subscriptions","organizations_url":"https://api.github.com/users/jace/orgs","repos_url":"https://api.github.com/users/jace/repos","events_url":"https://api.github.com/users/jace/events{/privacy}","received_events_url":"https://api.github.com/users/jace/received_events","type":"User","site_admin":false},"body":"Remove this `if` statement, it's no longer necessary.","created_at":"2016-04-25T11:22:18Z","updated_at":"2016-04-25T11:22:18Z","html_url":"https://github.com/hasgeek/hasjob/pull/325#discussion_r60897997","pull_request_url":"https://api.github.com/repos/hasgeek/hasjob/pulls/325","_links":{"self":{"href":"https://api.github.com/repos/hasgeek/hasjob/pulls/comments/60897997"},"html":{"href":"https://github.com/hasgeek/hasjob/pull/325#discussion_r60897997"},"pull_request":{"href":"https://api.github.com/repos/hasgeek/hasjob/pulls/325"}}},"pull_request":{"url":"https://api.github.com/repos/hasgeek/hasjob/pulls/325","id":67699270,"html_url":"https://github.com/hasgeek/hasjob/pull/325","diff_url":"https://github.com/hasgeek/hasjob/pull/325.diff","patch_url":"https://github.com/hasgeek/hasjob/pull/325.patch","issue_url":"https://api.github.com/repos/hasgeek/hasjob/issues/325","number":325,"state":"open","locked":false,"title":"Regarding #317 - Moved job filter computation inside inner function","user":{"login":"iambibhas","id":357253,"avatar_url":"https://avatars.githubusercontent.com/u/357253?v=3","gravatar_id":"","url":"https://api.github.com/users/iambibhas","html_url":"https://github.com/iambibhas","followers_url":"https://api.github.com/users/iambibhas/followers","following_url":"https://api.github.com/users/iambibhas/following{/other_user}","gists_url":"https://api.github.com/users/iambibhas/gists{/gist_id}","starred_url":"https://api.github.com/users/iambibhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iambibhas/subscriptions","organizations_url":"https://api.github.com/users/iambibhas/orgs","repos_url":"https://api.github.com/users/iambibhas/repos","events_url":"https://api.github.com/users/iambibhas/events{/privacy}","received_events_url":"https://api.github.com/users/iambibhas/received_events","type":"User","site_admin":false},"body":"Now the template can decide when to make the call so that the filters don't get computed all the time.","created_at":"2016-04-25T10:47:49Z","updated_at":"2016-04-25T11:22:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f77e9999b6bab68e21c20a8d88038453733a980d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hasgeek/hasjob/pulls/325/commits","review_comments_url":"https://api.github.com/repos/hasgeek/hasjob/pulls/325/comments","review_comment_url":"https://api.github.com/repos/hasgeek/hasjob/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hasgeek/hasjob/issues/325/comments","statuses_url":"https://api.github.com/repos/hasgeek/hasjob/statuses/f1eab94a42e13b75ae5520d6732cd9fb40cc7798","head":{"label":"iambibhas:issue-317","ref":"issue-317","sha":"f1eab94a42e13b75ae5520d6732cd9fb40cc7798","user":{"login":"iambibhas","id":357253,"avatar_url":"https://avatars.githubusercontent.com/u/357253?v=3","gravatar_id":"","url":"https://api.github.com/users/iambibhas","html_url":"https://github.com/iambibhas","followers_url":"https://api.github.com/users/iambibhas/followers","following_url":"https://api.github.com/users/iambibhas/following{/other_user}","gists_url":"https://api.github.com/users/iambibhas/gists{/gist_id}","starred_url":"https://api.github.com/users/iambibhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iambibhas/subscriptions","organizations_url":"https://api.github.com/users/iambibhas/orgs","repos_url":"https://api.github.com/users/iambibhas/repos","events_url":"https://api.github.com/users/iambibhas/events{/privacy}","received_events_url":"https://api.github.com/users/iambibhas/received_events","type":"User","site_admin":false},"repo":{"id":55829417,"name":"hasjob","full_name":"iambibhas/hasjob","owner":{"login":"iambibhas","id":357253,"avatar_url":"https://avatars.githubusercontent.com/u/357253?v=3","gravatar_id":"","url":"https://api.github.com/users/iambibhas","html_url":"https://github.com/iambibhas","followers_url":"https://api.github.com/users/iambibhas/followers","following_url":"https://api.github.com/users/iambibhas/following{/other_user}","gists_url":"https://api.github.com/users/iambibhas/gists{/gist_id}","starred_url":"https://api.github.com/users/iambibhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iambibhas/subscriptions","organizations_url":"https://api.github.com/users/iambibhas/orgs","repos_url":"https://api.github.com/users/iambibhas/repos","events_url":"https://api.github.com/users/iambibhas/events{/privacy}","received_events_url":"https://api.github.com/users/iambibhas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iambibhas/hasjob","description":"Hasjob, the HasGeek job board","fork":true,"url":"https://api.github.com/repos/iambibhas/hasjob","forks_url":"https://api.github.com/repos/iambibhas/hasjob/forks","keys_url":"https://api.github.com/repos/iambibhas/hasjob/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iambibhas/hasjob/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iambibhas/hasjob/teams","hooks_url":"https://api.github.com/repos/iambibhas/hasjob/hooks","issue_events_url":"https://api.github.com/repos/iambibhas/hasjob/issues/events{/number}","events_url":"https://api.github.com/repos/iambibhas/hasjob/events","assignees_url":"https://api.github.com/repos/iambibhas/hasjob/assignees{/user}","branches_url":"https://api.github.com/repos/iambibhas/hasjob/branches{/branch}","tags_url":"https://api.github.com/repos/iambibhas/hasjob/tags","blobs_url":"https://api.github.com/repos/iambibhas/hasjob/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iambibhas/hasjob/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iambibhas/hasjob/git/refs{/sha}","trees_url":"https://api.github.com/repos/iambibhas/hasjob/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iambibhas/hasjob/statuses/{sha}","languages_url":"https://api.github.com/repos/iambibhas/hasjob/languages","stargazers_url":"https://api.github.com/repos/iambibhas/hasjob/stargazers","contributors_url":"https://api.github.com/repos/iambibhas/hasjob/contributors","subscribers_url":"https://api.github.com/repos/iambibhas/hasjob/subscribers","subscription_url":"https://api.github.com/repos/iambibhas/hasjob/subscription","commits_url":"https://api.github.com/repos/iambibhas/hasjob/commits{/sha}","git_commits_url":"https://api.github.com/repos/iambibhas/hasjob/git/commits{/sha}","comments_url":"https://api.github.com/repos/iambibhas/hasjob/comments{/number}","issue_comment_url":"https://api.github.com/repos/iambibhas/hasjob/issues/comments{/number}","contents_url":"https://api.github.com/repos/iambibhas/hasjob/contents/{+path}","compare_url":"https://api.github.com/repos/iambibhas/hasjob/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iambibhas/hasjob/merges","archive_url":"https://api.github.com/repos/iambibhas/hasjob/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iambibhas/hasjob/downloads","issues_url":"https://api.github.com/repos/iambibhas/hasjob/issues{/number}","pulls_url":"https://api.github.com/repos/iambibhas/hasjob/pulls{/number}","milestones_url":"https://api.github.com/repos/iambibhas/hasjob/milestones{/number}","notifications_url":"https://api.github.com/repos/iambibhas/hasjob/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iambibhas/hasjob/labels{/name}","releases_url":"https://api.github.com/repos/iambibhas/hasjob/releases{/id}","deployments_url":"https://api.github.com/repos/iambibhas/hasjob/deployments","created_at":"2016-04-09T06:23:57Z","updated_at":"2016-04-09T06:23:58Z","pushed_at":"2016-04-25T10:44:10Z","git_url":"git://github.com/iambibhas/hasjob.git","ssh_url":"git@github.com:iambibhas/hasjob.git","clone_url":"https://github.com/iambibhas/hasjob.git","svn_url":"https://github.com/iambibhas/hasjob","homepage":"https://hasjob.co","size":3499,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"hasgeek:master","ref":"master","sha":"3225c50dc562b8aa0a8679341d7d22d428f03cbd","user":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars.githubusercontent.com/u/443850?v=3","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"repo":{"id":1644676,"name":"hasjob","full_name":"hasgeek/hasjob","owner":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars.githubusercontent.com/u/443850?v=3","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hasgeek/hasjob","description":"Hasjob, the HasGeek job board","fork":false,"url":"https://api.github.com/repos/hasgeek/hasjob","forks_url":"https://api.github.com/repos/hasgeek/hasjob/forks","keys_url":"https://api.github.com/repos/hasgeek/hasjob/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hasgeek/hasjob/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hasgeek/hasjob/teams","hooks_url":"https://api.github.com/repos/hasgeek/hasjob/hooks","issue_events_url":"https://api.github.com/repos/hasgeek/hasjob/issues/events{/number}","events_url":"https://api.github.com/repos/hasgeek/hasjob/events","assignees_url":"https://api.github.com/repos/hasgeek/hasjob/assignees{/user}","branches_url":"https://api.github.com/repos/hasgeek/hasjob/branches{/branch}","tags_url":"https://api.github.com/repos/hasgeek/hasjob/tags","blobs_url":"https://api.github.com/repos/hasgeek/hasjob/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hasgeek/hasjob/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hasgeek/hasjob/git/refs{/sha}","trees_url":"https://api.github.com/repos/hasgeek/hasjob/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hasgeek/hasjob/statuses/{sha}","languages_url":"https://api.github.com/repos/hasgeek/hasjob/languages","stargazers_url":"https://api.github.com/repos/hasgeek/hasjob/stargazers","contributors_url":"https://api.github.com/repos/hasgeek/hasjob/contributors","subscribers_url":"https://api.github.com/repos/hasgeek/hasjob/subscribers","subscription_url":"https://api.github.com/repos/hasgeek/hasjob/subscription","commits_url":"https://api.github.com/repos/hasgeek/hasjob/commits{/sha}","git_commits_url":"https://api.github.com/repos/hasgeek/hasjob/git/commits{/sha}","comments_url":"https://api.github.com/repos/hasgeek/hasjob/comments{/number}","issue_comment_url":"https://api.github.com/repos/hasgeek/hasjob/issues/comments{/number}","contents_url":"https://api.github.com/repos/hasgeek/hasjob/contents/{+path}","compare_url":"https://api.github.com/repos/hasgeek/hasjob/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hasgeek/hasjob/merges","archive_url":"https://api.github.com/repos/hasgeek/hasjob/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hasgeek/hasjob/downloads","issues_url":"https://api.github.com/repos/hasgeek/hasjob/issues{/number}","pulls_url":"https://api.github.com/repos/hasgeek/hasjob/pulls{/number}","milestones_url":"https://api.github.com/repos/hasgeek/hasjob/milestones{/number}","notifications_url":"https://api.github.com/repos/hasgeek/hasjob/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hasgeek/hasjob/labels{/name}","releases_url":"https://api.github.com/repos/hasgeek/hasjob/releases{/id}","deployments_url":"https://api.github.com/repos/hasgeek/hasjob/deployments","created_at":"2011-04-21T09:29:49Z","updated_at":"2016-03-28T10:44:09Z","pushed_at":"2016-04-25T10:47:49Z","git_url":"git://github.com/hasgeek/hasjob.git","ssh_url":"git@github.com:hasgeek/hasjob.git","clone_url":"https://github.com/hasgeek/hasjob.git","svn_url":"https://github.com/hasgeek/hasjob","homepage":"https://hasjob.co","size":4055,"stargazers_count":118,"watchers_count":118,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":59,"mirror_url":null,"open_issues_count":107,"forks":59,"open_issues":107,"watchers":118,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hasgeek/hasjob/pulls/325"},"html":{"href":"https://github.com/hasgeek/hasjob/pull/325"},"issue":{"href":"https://api.github.com/repos/hasgeek/hasjob/issues/325"},"comments":{"href":"https://api.github.com/repos/hasgeek/hasjob/issues/325/comments"},"review_comments":{"href":"https://api.github.com/repos/hasgeek/hasjob/pulls/325/comments"},"review_comment":{"href":"https://api.github.com/repos/hasgeek/hasjob/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hasgeek/hasjob/pulls/325/commits"},"statuses":{"href":"https://api.github.com/repos/hasgeek/hasjob/statuses/f1eab94a42e13b75ae5520d6732cd9fb40cc7798"}}}}