{"action":"closed","number":5177,"pull_request":{"url":"https://api.github.com/repos/DoSomething/phoenix/pulls/5177","id":45603136,"html_url":"https://github.com/DoSomething/phoenix/pull/5177","diff_url":"https://github.com/DoSomething/phoenix/pull/5177.diff","patch_url":"https://github.com/DoSomething/phoenix/pull/5177.patch","issue_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5177","number":5177,"state":"closed","locked":false,"title":"Mobile app dates","user":{"login":"chloealee","id":9019452,"avatar_url":"https://avatars.githubusercontent.com/u/9019452?v=3","gravatar_id":"","url":"https://api.github.com/users/chloealee","html_url":"https://github.com/chloealee","followers_url":"https://api.github.com/users/chloealee/followers","following_url":"https://api.github.com/users/chloealee/following{/other_user}","gists_url":"https://api.github.com/users/chloealee/gists{/gist_id}","starred_url":"https://api.github.com/users/chloealee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chloealee/subscriptions","organizations_url":"https://api.github.com/users/chloealee/orgs","repos_url":"https://api.github.com/users/chloealee/repos","events_url":"https://api.github.com/users/chloealee/events{/privacy}","received_events_url":"https://api.github.com/users/chloealee/received_events","type":"User","site_admin":false},"body":"#### What's this PR do? \r\nFunctionality to query campaigns that are available for a given date. \r\n\r\n#### Where should the reviewer start? \r\n`campaign_resource.inc` lines 41 - 48, then line 289\r\n`CampaignTransformer.php` line 25\r\n`dosomething_campaign.module` lines 457-462\r\n\r\n#### How should this be manually tested? \r\nexample query: `/campaigns.json?mobile_app_date=2015-09-02` should return all campaigns with query date in between mobile app start and end dates\r\n\r\n#### What are the relevant tickets? \r\nFixes #5041 \r\n","created_at":"2015-09-21T21:33:46Z","updated_at":"2015-09-23T18:27:09Z","closed_at":"2015-09-23T18:27:09Z","merged_at":"2015-09-23T18:27:09Z","merge_commit_sha":"1312bec0196655a1e975131b779cfbf1f0d6e203","assignee":{"login":"weerd","id":105849,"avatar_url":"https://avatars.githubusercontent.com/u/105849?v=3","gravatar_id":"","url":"https://api.github.com/users/weerd","html_url":"https://github.com/weerd","followers_url":"https://api.github.com/users/weerd/followers","following_url":"https://api.github.com/users/weerd/following{/other_user}","gists_url":"https://api.github.com/users/weerd/gists{/gist_id}","starred_url":"https://api.github.com/users/weerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weerd/subscriptions","organizations_url":"https://api.github.com/users/weerd/orgs","repos_url":"https://api.github.com/users/weerd/repos","events_url":"https://api.github.com/users/weerd/events{/privacy}","received_events_url":"https://api.github.com/users/weerd/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/DoSomething/phoenix/pulls/5177/commits","review_comments_url":"https://api.github.com/repos/DoSomething/phoenix/pulls/5177/comments","review_comment_url":"https://api.github.com/repos/DoSomething/phoenix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5177/comments","statuses_url":"https://api.github.com/repos/DoSomething/phoenix/statuses/c81e58162179b25fd093664d30dc8332fd0b7b69","head":{"label":"chloealee:mobile-app-dates","ref":"mobile-app-dates","sha":"c81e58162179b25fd093664d30dc8332fd0b7b69","user":{"login":"chloealee","id":9019452,"avatar_url":"https://avatars.githubusercontent.com/u/9019452?v=3","gravatar_id":"","url":"https://api.github.com/users/chloealee","html_url":"https://github.com/chloealee","followers_url":"https://api.github.com/users/chloealee/followers","following_url":"https://api.github.com/users/chloealee/following{/other_user}","gists_url":"https://api.github.com/users/chloealee/gists{/gist_id}","starred_url":"https://api.github.com/users/chloealee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chloealee/subscriptions","organizations_url":"https://api.github.com/users/chloealee/orgs","repos_url":"https://api.github.com/users/chloealee/repos","events_url":"https://api.github.com/users/chloealee/events{/privacy}","received_events_url":"https://api.github.com/users/chloealee/received_events","type":"User","site_admin":false},"repo":{"id":38055093,"name":"dosomething","full_name":"chloealee/dosomething","owner":{"login":"chloealee","id":9019452,"avatar_url":"https://avatars.githubusercontent.com/u/9019452?v=3","gravatar_id":"","url":"https://api.github.com/users/chloealee","html_url":"https://github.com/chloealee","followers_url":"https://api.github.com/users/chloealee/followers","following_url":"https://api.github.com/users/chloealee/following{/other_user}","gists_url":"https://api.github.com/users/chloealee/gists{/gist_id}","starred_url":"https://api.github.com/users/chloealee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chloealee/subscriptions","organizations_url":"https://api.github.com/users/chloealee/orgs","repos_url":"https://api.github.com/users/chloealee/repos","events_url":"https://api.github.com/users/chloealee/events{/privacy}","received_events_url":"https://api.github.com/users/chloealee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chloealee/dosomething","description":"A Drupal 7 distribution that powers the DoSomething.org web platform.","fork":true,"url":"https://api.github.com/repos/chloealee/dosomething","forks_url":"https://api.github.com/repos/chloealee/dosomething/forks","keys_url":"https://api.github.com/repos/chloealee/dosomething/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chloealee/dosomething/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chloealee/dosomething/teams","hooks_url":"https://api.github.com/repos/chloealee/dosomething/hooks","issue_events_url":"https://api.github.com/repos/chloealee/dosomething/issues/events{/number}","events_url":"https://api.github.com/repos/chloealee/dosomething/events","assignees_url":"https://api.github.com/repos/chloealee/dosomething/assignees{/user}","branches_url":"https://api.github.com/repos/chloealee/dosomething/branches{/branch}","tags_url":"https://api.github.com/repos/chloealee/dosomething/tags","blobs_url":"https://api.github.com/repos/chloealee/dosomething/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chloealee/dosomething/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chloealee/dosomething/git/refs{/sha}","trees_url":"https://api.github.com/repos/chloealee/dosomething/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chloealee/dosomething/statuses/{sha}","languages_url":"https://api.github.com/repos/chloealee/dosomething/languages","stargazers_url":"https://api.github.com/repos/chloealee/dosomething/stargazers","contributors_url":"https://api.github.com/repos/chloealee/dosomething/contributors","subscribers_url":"https://api.github.com/repos/chloealee/dosomething/subscribers","subscription_url":"https://api.github.com/repos/chloealee/dosomething/subscription","commits_url":"https://api.github.com/repos/chloealee/dosomething/commits{/sha}","git_commits_url":"https://api.github.com/repos/chloealee/dosomething/git/commits{/sha}","comments_url":"https://api.github.com/repos/chloealee/dosomething/comments{/number}","issue_comment_url":"https://api.github.com/repos/chloealee/dosomething/issues/comments{/number}","contents_url":"https://api.github.com/repos/chloealee/dosomething/contents/{+path}","compare_url":"https://api.github.com/repos/chloealee/dosomething/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chloealee/dosomething/merges","archive_url":"https://api.github.com/repos/chloealee/dosomething/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chloealee/dosomething/downloads","issues_url":"https://api.github.com/repos/chloealee/dosomething/issues{/number}","pulls_url":"https://api.github.com/repos/chloealee/dosomething/pulls{/number}","milestones_url":"https://api.github.com/repos/chloealee/dosomething/milestones{/number}","notifications_url":"https://api.github.com/repos/chloealee/dosomething/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chloealee/dosomething/labels{/name}","releases_url":"https://api.github.com/repos/chloealee/dosomething/releases{/id}","created_at":"2015-06-25T14:43:06Z","updated_at":"2015-06-25T14:43:08Z","pushed_at":"2015-09-23T18:12:10Z","git_url":"git://github.com/chloealee/dosomething.git","ssh_url":"git@github.com:chloealee/dosomething.git","clone_url":"https://github.com/chloealee/dosomething.git","svn_url":"https://github.com/chloealee/dosomething","homepage":"http://www.dosomething.org/","size":14358,"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":"8d6042be3d388b9217ff0a4c2fcf3c6c1c8e38a7","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-09-23T18:27:09Z","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":27473,"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":286,"forks":18,"open_issues":286,"watchers":25,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/5177"},"html":{"href":"https://github.com/DoSomething/phoenix/pull/5177"},"issue":{"href":"https://api.github.com/repos/DoSomething/phoenix/issues/5177"},"comments":{"href":"https://api.github.com/repos/DoSomething/phoenix/issues/5177/comments"},"review_comments":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/5177/comments"},"review_comment":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/5177/commits"},"statuses":{"href":"https://api.github.com/repos/DoSomething/phoenix/statuses/c81e58162179b25fd093664d30dc8332fd0b7b69"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chloealee","id":9019452,"avatar_url":"https://avatars.githubusercontent.com/u/9019452?v=3","gravatar_id":"","url":"https://api.github.com/users/chloealee","html_url":"https://github.com/chloealee","followers_url":"https://api.github.com/users/chloealee/followers","following_url":"https://api.github.com/users/chloealee/following{/other_user}","gists_url":"https://api.github.com/users/chloealee/gists{/gist_id}","starred_url":"https://api.github.com/users/chloealee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chloealee/subscriptions","organizations_url":"https://api.github.com/users/chloealee/orgs","repos_url":"https://api.github.com/users/chloealee/repos","events_url":"https://api.github.com/users/chloealee/events{/privacy}","received_events_url":"https://api.github.com/users/chloealee/received_events","type":"User","site_admin":false},"comments":1,"review_comments":3,"commits":7,"additions":22,"deletions":2,"changed_files":4}}