{"action":"closed","number":4757,"pull_request":{"url":"https://api.github.com/repos/DoSomething/phoenix/pulls/4757","id":41045958,"html_url":"https://github.com/DoSomething/phoenix/pull/4757","diff_url":"https://github.com/DoSomething/phoenix/pull/4757.diff","patch_url":"https://github.com/DoSomething/phoenix/pull/4757.patch","issue_url":"https://api.github.com/repos/DoSomething/phoenix/issues/4757","number":4757,"state":"closed","locked":false,"title":"Updates reportback quantity logic","user":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"body":"Fixes #4748 \r\n\r\n[2:41 PM] Joe Kent: and I added a condition to the query in dosomething_reportback_get_reportback_total_by_nid\r\n\r\n[2:42 PM] Joe Kent: also made other places DRY by using that function instead of copying the addition code\r\n\r\n@angaither ","created_at":"2015-07-28T18:45:49Z","updated_at":"2015-07-28T19:04:49Z","closed_at":"2015-07-28T19:04:49Z","merged_at":"2015-07-28T19:04:49Z","merge_commit_sha":"f9188e2a52167516572d651e13bc9d4f4911e20a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DoSomething/phoenix/pulls/4757/commits","review_comments_url":"https://api.github.com/repos/DoSomething/phoenix/pulls/4757/comments","review_comment_url":"https://api.github.com/repos/DoSomething/phoenix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DoSomething/phoenix/issues/4757/comments","statuses_url":"https://api.github.com/repos/DoSomething/phoenix/statuses/0ded7a0a584a28b2280ee253154d00abcae2a0d4","head":{"label":"deadlybutter:4748","ref":"4748","sha":"0ded7a0a584a28b2280ee253154d00abcae2a0d4","user":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"repo":{"id":26186134,"name":"dosomething","full_name":"deadlybutter/dosomething","owner":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deadlybutter/dosomething","description":"A Drupal 7 distribution that powers the DoSomething.org web platform.","fork":true,"url":"https://api.github.com/repos/deadlybutter/dosomething","forks_url":"https://api.github.com/repos/deadlybutter/dosomething/forks","keys_url":"https://api.github.com/repos/deadlybutter/dosomething/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deadlybutter/dosomething/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deadlybutter/dosomething/teams","hooks_url":"https://api.github.com/repos/deadlybutter/dosomething/hooks","issue_events_url":"https://api.github.com/repos/deadlybutter/dosomething/issues/events{/number}","events_url":"https://api.github.com/repos/deadlybutter/dosomething/events","assignees_url":"https://api.github.com/repos/deadlybutter/dosomething/assignees{/user}","branches_url":"https://api.github.com/repos/deadlybutter/dosomething/branches{/branch}","tags_url":"https://api.github.com/repos/deadlybutter/dosomething/tags","blobs_url":"https://api.github.com/repos/deadlybutter/dosomething/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deadlybutter/dosomething/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deadlybutter/dosomething/git/refs{/sha}","trees_url":"https://api.github.com/repos/deadlybutter/dosomething/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deadlybutter/dosomething/statuses/{sha}","languages_url":"https://api.github.com/repos/deadlybutter/dosomething/languages","stargazers_url":"https://api.github.com/repos/deadlybutter/dosomething/stargazers","contributors_url":"https://api.github.com/repos/deadlybutter/dosomething/contributors","subscribers_url":"https://api.github.com/repos/deadlybutter/dosomething/subscribers","subscription_url":"https://api.github.com/repos/deadlybutter/dosomething/subscription","commits_url":"https://api.github.com/repos/deadlybutter/dosomething/commits{/sha}","git_commits_url":"https://api.github.com/repos/deadlybutter/dosomething/git/commits{/sha}","comments_url":"https://api.github.com/repos/deadlybutter/dosomething/comments{/number}","issue_comment_url":"https://api.github.com/repos/deadlybutter/dosomething/issues/comments{/number}","contents_url":"https://api.github.com/repos/deadlybutter/dosomething/contents/{+path}","compare_url":"https://api.github.com/repos/deadlybutter/dosomething/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deadlybutter/dosomething/merges","archive_url":"https://api.github.com/repos/deadlybutter/dosomething/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deadlybutter/dosomething/downloads","issues_url":"https://api.github.com/repos/deadlybutter/dosomething/issues{/number}","pulls_url":"https://api.github.com/repos/deadlybutter/dosomething/pulls{/number}","milestones_url":"https://api.github.com/repos/deadlybutter/dosomething/milestones{/number}","notifications_url":"https://api.github.com/repos/deadlybutter/dosomething/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deadlybutter/dosomething/labels{/name}","releases_url":"https://api.github.com/repos/deadlybutter/dosomething/releases{/id}","created_at":"2014-11-04T19:57:31Z","updated_at":"2015-02-24T20:06:33Z","pushed_at":"2015-07-28T18:56:17Z","git_url":"git://github.com/deadlybutter/dosomething.git","ssh_url":"git@github.com:deadlybutter/dosomething.git","clone_url":"https://github.com/deadlybutter/dosomething.git","svn_url":"https://github.com/deadlybutter/dosomething","homepage":"http://www.dosomething.org/","size":14096,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"dev"}},"base":{"label":"DoSomething:dev","ref":"dev","sha":"f742d69eed867e54a2718169e455763a10594bc8","user":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?v=3","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"repo":{"id":13592927,"name":"phoenix","full_name":"DoSomething/phoenix","owner":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?v=3","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DoSomething/phoenix","description":"A Drupal 7 distribution that powers the DoSomething.org web platform.","fork":false,"url":"https://api.github.com/repos/DoSomething/phoenix","forks_url":"https://api.github.com/repos/DoSomething/phoenix/forks","keys_url":"https://api.github.com/repos/DoSomething/phoenix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoSomething/phoenix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoSomething/phoenix/teams","hooks_url":"https://api.github.com/repos/DoSomething/phoenix/hooks","issue_events_url":"https://api.github.com/repos/DoSomething/phoenix/issues/events{/number}","events_url":"https://api.github.com/repos/DoSomething/phoenix/events","assignees_url":"https://api.github.com/repos/DoSomething/phoenix/assignees{/user}","branches_url":"https://api.github.com/repos/DoSomething/phoenix/branches{/branch}","tags_url":"https://api.github.com/repos/DoSomething/phoenix/tags","blobs_url":"https://api.github.com/repos/DoSomething/phoenix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoSomething/phoenix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoSomething/phoenix/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoSomething/phoenix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoSomething/phoenix/statuses/{sha}","languages_url":"https://api.github.com/repos/DoSomething/phoenix/languages","stargazers_url":"https://api.github.com/repos/DoSomething/phoenix/stargazers","contributors_url":"https://api.github.com/repos/DoSomething/phoenix/contributors","subscribers_url":"https://api.github.com/repos/DoSomething/phoenix/subscribers","subscription_url":"https://api.github.com/repos/DoSomething/phoenix/subscription","commits_url":"https://api.github.com/repos/DoSomething/phoenix/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoSomething/phoenix/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoSomething/phoenix/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoSomething/phoenix/issues/comments{/number}","contents_url":"https://api.github.com/repos/DoSomething/phoenix/contents/{+path}","compare_url":"https://api.github.com/repos/DoSomething/phoenix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoSomething/phoenix/merges","archive_url":"https://api.github.com/repos/DoSomething/phoenix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoSomething/phoenix/downloads","issues_url":"https://api.github.com/repos/DoSomething/phoenix/issues{/number}","pulls_url":"https://api.github.com/repos/DoSomething/phoenix/pulls{/number}","milestones_url":"https://api.github.com/repos/DoSomething/phoenix/milestones{/number}","notifications_url":"https://api.github.com/repos/DoSomething/phoenix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoSomething/phoenix/labels{/name}","releases_url":"https://api.github.com/repos/DoSomething/phoenix/releases{/id}","created_at":"2013-10-15T14:50:48Z","updated_at":"2015-07-23T19:32:25Z","pushed_at":"2015-07-28T19:04:49Z","git_url":"git://github.com/DoSomething/phoenix.git","ssh_url":"git@github.com:DoSomething/phoenix.git","clone_url":"https://github.com/DoSomething/phoenix.git","svn_url":"https://github.com/DoSomething/phoenix","homepage":"http://www.dosomething.org/","size":25646,"stargazers_count":25,"watchers_count":25,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":219,"forks":18,"open_issues":219,"watchers":25,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/4757"},"html":{"href":"https://github.com/DoSomething/phoenix/pull/4757"},"issue":{"href":"https://api.github.com/repos/DoSomething/phoenix/issues/4757"},"comments":{"href":"https://api.github.com/repos/DoSomething/phoenix/issues/4757/comments"},"review_comments":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/4757/comments"},"review_comment":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/4757/commits"},"statuses":{"href":"https://api.github.com/repos/DoSomething/phoenix/statuses/0ded7a0a584a28b2280ee253154d00abcae2a0d4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"comments":2,"review_comments":7,"commits":2,"additions":3,"deletions":1,"changed_files":1}}