{"action":"opened","number":226,"pull_request":{"url":"https://api.github.com/repos/coralproject/cay/pulls/226","id":67093599,"html_url":"https://github.com/coralproject/cay/pull/226","diff_url":"https://github.com/coralproject/cay/pull/226.diff","patch_url":"https://github.com/coralproject/cay/pull/226.patch","issue_url":"https://api.github.com/repos/coralproject/cay/issues/226","number":226,"state":"open","locked":false,"title":"user counts","user":{"login":"riley","id":282503,"avatar_url":"https://avatars.githubusercontent.com/u/282503?v=3","gravatar_id":"","url":"https://api.github.com/users/riley","html_url":"https://github.com/riley","followers_url":"https://api.github.com/users/riley/followers","following_url":"https://api.github.com/users/riley/following{/other_user}","gists_url":"https://api.github.com/users/riley/gists{/gist_id}","starred_url":"https://api.github.com/users/riley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riley/subscriptions","organizations_url":"https://api.github.com/users/riley/orgs","repos_url":"https://api.github.com/users/riley/repos","events_url":"https://api.github.com/users/riley/events{/privacy}","received_events_url":"https://api.github.com/users/riley/received_events","type":"User","site_admin":false},"body":"## What?\n\nAdded user counts (only to the Search Creator screen). User counts will come from Pillar eventually for saved searches.\n\n## How to test?\n\non the Search Create screen, when you drag the filters, the user count should update above the list.\n\n### BUG\nthis PR uncovered a bug in the infinite scrolling logic. sometimes we update the list and sometimes we clear it. If the user count shows as 1 or something and there are several users showing in the list, the user count is right. I'm going to open a new issue and fix it separate from this PR.","created_at":"2016-04-19T21:32:25Z","updated_at":"2016-04-19T21:32:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f99baca8c9d6db62800ccd2add4d6c675d23be0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coralproject/cay/pulls/226/commits","review_comments_url":"https://api.github.com/repos/coralproject/cay/pulls/226/comments","review_comment_url":"https://api.github.com/repos/coralproject/cay/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coralproject/cay/issues/226/comments","statuses_url":"https://api.github.com/repos/coralproject/cay/statuses/ed3344fe88f47ade5499076dd1b83ffe7782bd8f","head":{"label":"coralproject:pertinent-user-fields","ref":"pertinent-user-fields","sha":"ed3344fe88f47ade5499076dd1b83ffe7782bd8f","user":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars.githubusercontent.com/u/9255912?v=3","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"repo":{"id":44335810,"name":"cay","full_name":"coralproject/cay","owner":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars.githubusercontent.com/u/9255912?v=3","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coralproject/cay","description":"Front-end code for Coral community tools","fork":false,"url":"https://api.github.com/repos/coralproject/cay","forks_url":"https://api.github.com/repos/coralproject/cay/forks","keys_url":"https://api.github.com/repos/coralproject/cay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coralproject/cay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coralproject/cay/teams","hooks_url":"https://api.github.com/repos/coralproject/cay/hooks","issue_events_url":"https://api.github.com/repos/coralproject/cay/issues/events{/number}","events_url":"https://api.github.com/repos/coralproject/cay/events","assignees_url":"https://api.github.com/repos/coralproject/cay/assignees{/user}","branches_url":"https://api.github.com/repos/coralproject/cay/branches{/branch}","tags_url":"https://api.github.com/repos/coralproject/cay/tags","blobs_url":"https://api.github.com/repos/coralproject/cay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coralproject/cay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coralproject/cay/git/refs{/sha}","trees_url":"https://api.github.com/repos/coralproject/cay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coralproject/cay/statuses/{sha}","languages_url":"https://api.github.com/repos/coralproject/cay/languages","stargazers_url":"https://api.github.com/repos/coralproject/cay/stargazers","contributors_url":"https://api.github.com/repos/coralproject/cay/contributors","subscribers_url":"https://api.github.com/repos/coralproject/cay/subscribers","subscription_url":"https://api.github.com/repos/coralproject/cay/subscription","commits_url":"https://api.github.com/repos/coralproject/cay/commits{/sha}","git_commits_url":"https://api.github.com/repos/coralproject/cay/git/commits{/sha}","comments_url":"https://api.github.com/repos/coralproject/cay/comments{/number}","issue_comment_url":"https://api.github.com/repos/coralproject/cay/issues/comments{/number}","contents_url":"https://api.github.com/repos/coralproject/cay/contents/{+path}","compare_url":"https://api.github.com/repos/coralproject/cay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coralproject/cay/merges","archive_url":"https://api.github.com/repos/coralproject/cay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coralproject/cay/downloads","issues_url":"https://api.github.com/repos/coralproject/cay/issues{/number}","pulls_url":"https://api.github.com/repos/coralproject/cay/pulls{/number}","milestones_url":"https://api.github.com/repos/coralproject/cay/milestones{/number}","notifications_url":"https://api.github.com/repos/coralproject/cay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coralproject/cay/labels{/name}","releases_url":"https://api.github.com/repos/coralproject/cay/releases{/id}","deployments_url":"https://api.github.com/repos/coralproject/cay/deployments","created_at":"2015-10-15T18:02:52Z","updated_at":"2016-04-05T07:25:42Z","pushed_at":"2016-04-19T21:32:25Z","git_url":"git://github.com/coralproject/cay.git","ssh_url":"git@github.com:coralproject/cay.git","clone_url":"https://github.com/coralproject/cay.git","svn_url":"https://github.com/coralproject/cay","homepage":"","size":40995,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":55,"forks":4,"open_issues":55,"watchers":11,"default_branch":"master"}},"base":{"label":"coralproject:master","ref":"master","sha":"436c822d0475eb1487769320cc7aaac63bb36dfb","user":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars.githubusercontent.com/u/9255912?v=3","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"repo":{"id":44335810,"name":"cay","full_name":"coralproject/cay","owner":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars.githubusercontent.com/u/9255912?v=3","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coralproject/cay","description":"Front-end code for Coral community tools","fork":false,"url":"https://api.github.com/repos/coralproject/cay","forks_url":"https://api.github.com/repos/coralproject/cay/forks","keys_url":"https://api.github.com/repos/coralproject/cay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coralproject/cay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coralproject/cay/teams","hooks_url":"https://api.github.com/repos/coralproject/cay/hooks","issue_events_url":"https://api.github.com/repos/coralproject/cay/issues/events{/number}","events_url":"https://api.github.com/repos/coralproject/cay/events","assignees_url":"https://api.github.com/repos/coralproject/cay/assignees{/user}","branches_url":"https://api.github.com/repos/coralproject/cay/branches{/branch}","tags_url":"https://api.github.com/repos/coralproject/cay/tags","blobs_url":"https://api.github.com/repos/coralproject/cay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coralproject/cay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coralproject/cay/git/refs{/sha}","trees_url":"https://api.github.com/repos/coralproject/cay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coralproject/cay/statuses/{sha}","languages_url":"https://api.github.com/repos/coralproject/cay/languages","stargazers_url":"https://api.github.com/repos/coralproject/cay/stargazers","contributors_url":"https://api.github.com/repos/coralproject/cay/contributors","subscribers_url":"https://api.github.com/repos/coralproject/cay/subscribers","subscription_url":"https://api.github.com/repos/coralproject/cay/subscription","commits_url":"https://api.github.com/repos/coralproject/cay/commits{/sha}","git_commits_url":"https://api.github.com/repos/coralproject/cay/git/commits{/sha}","comments_url":"https://api.github.com/repos/coralproject/cay/comments{/number}","issue_comment_url":"https://api.github.com/repos/coralproject/cay/issues/comments{/number}","contents_url":"https://api.github.com/repos/coralproject/cay/contents/{+path}","compare_url":"https://api.github.com/repos/coralproject/cay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coralproject/cay/merges","archive_url":"https://api.github.com/repos/coralproject/cay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coralproject/cay/downloads","issues_url":"https://api.github.com/repos/coralproject/cay/issues{/number}","pulls_url":"https://api.github.com/repos/coralproject/cay/pulls{/number}","milestones_url":"https://api.github.com/repos/coralproject/cay/milestones{/number}","notifications_url":"https://api.github.com/repos/coralproject/cay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coralproject/cay/labels{/name}","releases_url":"https://api.github.com/repos/coralproject/cay/releases{/id}","deployments_url":"https://api.github.com/repos/coralproject/cay/deployments","created_at":"2015-10-15T18:02:52Z","updated_at":"2016-04-05T07:25:42Z","pushed_at":"2016-04-19T21:32:25Z","git_url":"git://github.com/coralproject/cay.git","ssh_url":"git@github.com:coralproject/cay.git","clone_url":"https://github.com/coralproject/cay.git","svn_url":"https://github.com/coralproject/cay","homepage":"","size":40995,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":55,"forks":4,"open_issues":55,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coralproject/cay/pulls/226"},"html":{"href":"https://github.com/coralproject/cay/pull/226"},"issue":{"href":"https://api.github.com/repos/coralproject/cay/issues/226"},"comments":{"href":"https://api.github.com/repos/coralproject/cay/issues/226/comments"},"review_comments":{"href":"https://api.github.com/repos/coralproject/cay/pulls/226/comments"},"review_comment":{"href":"https://api.github.com/repos/coralproject/cay/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coralproject/cay/pulls/226/commits"},"statuses":{"href":"https://api.github.com/repos/coralproject/cay/statuses/ed3344fe88f47ade5499076dd1b83ffe7782bd8f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":45,"deletions":30,"changed_files":4}}