{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/eecs394-s16/SquareUp/pulls/2","id":65894574,"html_url":"https://github.com/eecs394-s16/SquareUp/pull/2","diff_url":"https://github.com/eecs394-s16/SquareUp/pull/2.diff","patch_url":"https://github.com/eecs394-s16/SquareUp/pull/2.patch","issue_url":"https://api.github.com/repos/eecs394-s16/SquareUp/issues/2","number":2,"state":"closed","locked":false,"title":"purchases ordered by time","user":{"login":"Danqi7","id":11764507,"avatar_url":"https://avatars.githubusercontent.com/u/11764507?v=3","gravatar_id":"","url":"https://api.github.com/users/Danqi7","html_url":"https://github.com/Danqi7","followers_url":"https://api.github.com/users/Danqi7/followers","following_url":"https://api.github.com/users/Danqi7/following{/other_user}","gists_url":"https://api.github.com/users/Danqi7/gists{/gist_id}","starred_url":"https://api.github.com/users/Danqi7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danqi7/subscriptions","organizations_url":"https://api.github.com/users/Danqi7/orgs","repos_url":"https://api.github.com/users/Danqi7/repos","events_url":"https://api.github.com/users/Danqi7/events{/privacy}","received_events_url":"https://api.github.com/users/Danqi7/received_events","type":"User","site_admin":false},"body":"Purchase view is ordered by time that the purchase was created.Added createdAt field to purchase data. Implemented in ng-repeat orderBy. Changed the firebase retrieve data method from event type \"value\" to event type \"child_added\" so that we can traverse each purchase and convert JSON to array since ng orderBy only works with array.","created_at":"2016-04-09T22:31:56Z","updated_at":"2016-04-10T05:14:52Z","closed_at":"2016-04-10T05:14:52Z","merged_at":"2016-04-10T05:14:52Z","merge_commit_sha":"a1617f1004531e01f190ff3283e7e641015644a3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eecs394-s16/SquareUp/pulls/2/commits","review_comments_url":"https://api.github.com/repos/eecs394-s16/SquareUp/pulls/2/comments","review_comment_url":"https://api.github.com/repos/eecs394-s16/SquareUp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eecs394-s16/SquareUp/issues/2/comments","statuses_url":"https://api.github.com/repos/eecs394-s16/SquareUp/statuses/b4214bde72caa4dde08f0a9f87454374c8e9aa06","head":{"label":"eecs394-s16:backlog-6","ref":"backlog-6","sha":"b4214bde72caa4dde08f0a9f87454374c8e9aa06","user":{"login":"eecs394-s16","id":17621057,"avatar_url":"https://avatars.githubusercontent.com/u/17621057?v=3","gravatar_id":"","url":"https://api.github.com/users/eecs394-s16","html_url":"https://github.com/eecs394-s16","followers_url":"https://api.github.com/users/eecs394-s16/followers","following_url":"https://api.github.com/users/eecs394-s16/following{/other_user}","gists_url":"https://api.github.com/users/eecs394-s16/gists{/gist_id}","starred_url":"https://api.github.com/users/eecs394-s16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eecs394-s16/subscriptions","organizations_url":"https://api.github.com/users/eecs394-s16/orgs","repos_url":"https://api.github.com/users/eecs394-s16/repos","events_url":"https://api.github.com/users/eecs394-s16/events{/privacy}","received_events_url":"https://api.github.com/users/eecs394-s16/received_events","type":"Organization","site_admin":false},"repo":{"id":55555470,"name":"SquareUp","full_name":"eecs394-s16/SquareUp","owner":{"login":"eecs394-s16","id":17621057,"avatar_url":"https://avatars.githubusercontent.com/u/17621057?v=3","gravatar_id":"","url":"https://api.github.com/users/eecs394-s16","html_url":"https://github.com/eecs394-s16","followers_url":"https://api.github.com/users/eecs394-s16/followers","following_url":"https://api.github.com/users/eecs394-s16/following{/other_user}","gists_url":"https://api.github.com/users/eecs394-s16/gists{/gist_id}","starred_url":"https://api.github.com/users/eecs394-s16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eecs394-s16/subscriptions","organizations_url":"https://api.github.com/users/eecs394-s16/orgs","repos_url":"https://api.github.com/users/eecs394-s16/repos","events_url":"https://api.github.com/users/eecs394-s16/events{/privacy}","received_events_url":"https://api.github.com/users/eecs394-s16/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eecs394-s16/SquareUp","description":"Bill splitting app - Orange team project 1","fork":false,"url":"https://api.github.com/repos/eecs394-s16/SquareUp","forks_url":"https://api.github.com/repos/eecs394-s16/SquareUp/forks","keys_url":"https://api.github.com/repos/eecs394-s16/SquareUp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eecs394-s16/SquareUp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eecs394-s16/SquareUp/teams","hooks_url":"https://api.github.com/repos/eecs394-s16/SquareUp/hooks","issue_events_url":"https://api.github.com/repos/eecs394-s16/SquareUp/issues/events{/number}","events_url":"https://api.github.com/repos/eecs394-s16/SquareUp/events","assignees_url":"https://api.github.com/repos/eecs394-s16/SquareUp/assignees{/user}","branches_url":"https://api.github.com/repos/eecs394-s16/SquareUp/branches{/branch}","tags_url":"https://api.github.com/repos/eecs394-s16/SquareUp/tags","blobs_url":"https://api.github.com/repos/eecs394-s16/SquareUp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eecs394-s16/SquareUp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eecs394-s16/SquareUp/git/refs{/sha}","trees_url":"https://api.github.com/repos/eecs394-s16/SquareUp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eecs394-s16/SquareUp/statuses/{sha}","languages_url":"https://api.github.com/repos/eecs394-s16/SquareUp/languages","stargazers_url":"https://api.github.com/repos/eecs394-s16/SquareUp/stargazers","contributors_url":"https://api.github.com/repos/eecs394-s16/SquareUp/contributors","subscribers_url":"https://api.github.com/repos/eecs394-s16/SquareUp/subscribers","subscription_url":"https://api.github.com/repos/eecs394-s16/SquareUp/subscription","commits_url":"https://api.github.com/repos/eecs394-s16/SquareUp/commits{/sha}","git_commits_url":"https://api.github.com/repos/eecs394-s16/SquareUp/git/commits{/sha}","comments_url":"https://api.github.com/repos/eecs394-s16/SquareUp/comments{/number}","issue_comment_url":"https://api.github.com/repos/eecs394-s16/SquareUp/issues/comments{/number}","contents_url":"https://api.github.com/repos/eecs394-s16/SquareUp/contents/{+path}","compare_url":"https://api.github.com/repos/eecs394-s16/SquareUp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eecs394-s16/SquareUp/merges","archive_url":"https://api.github.com/repos/eecs394-s16/SquareUp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eecs394-s16/SquareUp/downloads","issues_url":"https://api.github.com/repos/eecs394-s16/SquareUp/issues{/number}","pulls_url":"https://api.github.com/repos/eecs394-s16/SquareUp/pulls{/number}","milestones_url":"https://api.github.com/repos/eecs394-s16/SquareUp/milestones{/number}","notifications_url":"https://api.github.com/repos/eecs394-s16/SquareUp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eecs394-s16/SquareUp/labels{/name}","releases_url":"https://api.github.com/repos/eecs394-s16/SquareUp/releases{/id}","deployments_url":"https://api.github.com/repos/eecs394-s16/SquareUp/deployments","created_at":"2016-04-05T21:41:57Z","updated_at":"2016-04-05T21:59:53Z","pushed_at":"2016-04-10T05:14:52Z","git_url":"git://github.com/eecs394-s16/SquareUp.git","ssh_url":"git@github.com:eecs394-s16/SquareUp.git","clone_url":"https://github.com/eecs394-s16/SquareUp.git","svn_url":"https://github.com/eecs394-s16/SquareUp","homepage":null,"size":1752,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"eecs394-s16:master","ref":"master","sha":"726ec08f0f69f49a596735163f9faa711f5cabf0","user":{"login":"eecs394-s16","id":17621057,"avatar_url":"https://avatars.githubusercontent.com/u/17621057?v=3","gravatar_id":"","url":"https://api.github.com/users/eecs394-s16","html_url":"https://github.com/eecs394-s16","followers_url":"https://api.github.com/users/eecs394-s16/followers","following_url":"https://api.github.com/users/eecs394-s16/following{/other_user}","gists_url":"https://api.github.com/users/eecs394-s16/gists{/gist_id}","starred_url":"https://api.github.com/users/eecs394-s16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eecs394-s16/subscriptions","organizations_url":"https://api.github.com/users/eecs394-s16/orgs","repos_url":"https://api.github.com/users/eecs394-s16/repos","events_url":"https://api.github.com/users/eecs394-s16/events{/privacy}","received_events_url":"https://api.github.com/users/eecs394-s16/received_events","type":"Organization","site_admin":false},"repo":{"id":55555470,"name":"SquareUp","full_name":"eecs394-s16/SquareUp","owner":{"login":"eecs394-s16","id":17621057,"avatar_url":"https://avatars.githubusercontent.com/u/17621057?v=3","gravatar_id":"","url":"https://api.github.com/users/eecs394-s16","html_url":"https://github.com/eecs394-s16","followers_url":"https://api.github.com/users/eecs394-s16/followers","following_url":"https://api.github.com/users/eecs394-s16/following{/other_user}","gists_url":"https://api.github.com/users/eecs394-s16/gists{/gist_id}","starred_url":"https://api.github.com/users/eecs394-s16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eecs394-s16/subscriptions","organizations_url":"https://api.github.com/users/eecs394-s16/orgs","repos_url":"https://api.github.com/users/eecs394-s16/repos","events_url":"https://api.github.com/users/eecs394-s16/events{/privacy}","received_events_url":"https://api.github.com/users/eecs394-s16/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eecs394-s16/SquareUp","description":"Bill splitting app - Orange team project 1","fork":false,"url":"https://api.github.com/repos/eecs394-s16/SquareUp","forks_url":"https://api.github.com/repos/eecs394-s16/SquareUp/forks","keys_url":"https://api.github.com/repos/eecs394-s16/SquareUp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eecs394-s16/SquareUp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eecs394-s16/SquareUp/teams","hooks_url":"https://api.github.com/repos/eecs394-s16/SquareUp/hooks","issue_events_url":"https://api.github.com/repos/eecs394-s16/SquareUp/issues/events{/number}","events_url":"https://api.github.com/repos/eecs394-s16/SquareUp/events","assignees_url":"https://api.github.com/repos/eecs394-s16/SquareUp/assignees{/user}","branches_url":"https://api.github.com/repos/eecs394-s16/SquareUp/branches{/branch}","tags_url":"https://api.github.com/repos/eecs394-s16/SquareUp/tags","blobs_url":"https://api.github.com/repos/eecs394-s16/SquareUp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eecs394-s16/SquareUp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eecs394-s16/SquareUp/git/refs{/sha}","trees_url":"https://api.github.com/repos/eecs394-s16/SquareUp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eecs394-s16/SquareUp/statuses/{sha}","languages_url":"https://api.github.com/repos/eecs394-s16/SquareUp/languages","stargazers_url":"https://api.github.com/repos/eecs394-s16/SquareUp/stargazers","contributors_url":"https://api.github.com/repos/eecs394-s16/SquareUp/contributors","subscribers_url":"https://api.github.com/repos/eecs394-s16/SquareUp/subscribers","subscription_url":"https://api.github.com/repos/eecs394-s16/SquareUp/subscription","commits_url":"https://api.github.com/repos/eecs394-s16/SquareUp/commits{/sha}","git_commits_url":"https://api.github.com/repos/eecs394-s16/SquareUp/git/commits{/sha}","comments_url":"https://api.github.com/repos/eecs394-s16/SquareUp/comments{/number}","issue_comment_url":"https://api.github.com/repos/eecs394-s16/SquareUp/issues/comments{/number}","contents_url":"https://api.github.com/repos/eecs394-s16/SquareUp/contents/{+path}","compare_url":"https://api.github.com/repos/eecs394-s16/SquareUp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eecs394-s16/SquareUp/merges","archive_url":"https://api.github.com/repos/eecs394-s16/SquareUp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eecs394-s16/SquareUp/downloads","issues_url":"https://api.github.com/repos/eecs394-s16/SquareUp/issues{/number}","pulls_url":"https://api.github.com/repos/eecs394-s16/SquareUp/pulls{/number}","milestones_url":"https://api.github.com/repos/eecs394-s16/SquareUp/milestones{/number}","notifications_url":"https://api.github.com/repos/eecs394-s16/SquareUp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eecs394-s16/SquareUp/labels{/name}","releases_url":"https://api.github.com/repos/eecs394-s16/SquareUp/releases{/id}","deployments_url":"https://api.github.com/repos/eecs394-s16/SquareUp/deployments","created_at":"2016-04-05T21:41:57Z","updated_at":"2016-04-05T21:59:53Z","pushed_at":"2016-04-10T05:14:52Z","git_url":"git://github.com/eecs394-s16/SquareUp.git","ssh_url":"git@github.com:eecs394-s16/SquareUp.git","clone_url":"https://github.com/eecs394-s16/SquareUp.git","svn_url":"https://github.com/eecs394-s16/SquareUp","homepage":null,"size":1752,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eecs394-s16/SquareUp/pulls/2"},"html":{"href":"https://github.com/eecs394-s16/SquareUp/pull/2"},"issue":{"href":"https://api.github.com/repos/eecs394-s16/SquareUp/issues/2"},"comments":{"href":"https://api.github.com/repos/eecs394-s16/SquareUp/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/eecs394-s16/SquareUp/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/eecs394-s16/SquareUp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eecs394-s16/SquareUp/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/eecs394-s16/SquareUp/statuses/b4214bde72caa4dde08f0a9f87454374c8e9aa06"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jameswhang","id":5782589,"avatar_url":"https://avatars.githubusercontent.com/u/5782589?v=3","gravatar_id":"","url":"https://api.github.com/users/jameswhang","html_url":"https://github.com/jameswhang","followers_url":"https://api.github.com/users/jameswhang/followers","following_url":"https://api.github.com/users/jameswhang/following{/other_user}","gists_url":"https://api.github.com/users/jameswhang/gists{/gist_id}","starred_url":"https://api.github.com/users/jameswhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameswhang/subscriptions","organizations_url":"https://api.github.com/users/jameswhang/orgs","repos_url":"https://api.github.com/users/jameswhang/repos","events_url":"https://api.github.com/users/jameswhang/events{/privacy}","received_events_url":"https://api.github.com/users/jameswhang/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"commits":1,"additions":9,"deletions":7,"changed_files":3}}