{"action":"created","comment":{"url":"https://api.github.com/repos/seeker105/the_pivot/pulls/comments/69980393","id":69980393,"diff_hunk":"@@ -6,4 +6,8 @@ def format_bidder(high_bidder)\n       \"None\"\n     end\n   end\n+\n+  def order_items_by_id(items)","path":"app/helpers/application_helper.rb","position":5,"original_position":5,"commit_id":"be0fe57f12fb72cc209a294f2b17a7239f403682","original_commit_id":"be0fe57f12fb72cc209a294f2b17a7239f403682","user":{"login":"ErinGreenhalgh","id":16656094,"avatar_url":"https://avatars.githubusercontent.com/u/16656094?v=3","gravatar_id":"","url":"https://api.github.com/users/ErinGreenhalgh","html_url":"https://github.com/ErinGreenhalgh","followers_url":"https://api.github.com/users/ErinGreenhalgh/followers","following_url":"https://api.github.com/users/ErinGreenhalgh/following{/other_user}","gists_url":"https://api.github.com/users/ErinGreenhalgh/gists{/gist_id}","starred_url":"https://api.github.com/users/ErinGreenhalgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErinGreenhalgh/subscriptions","organizations_url":"https://api.github.com/users/ErinGreenhalgh/orgs","repos_url":"https://api.github.com/users/ErinGreenhalgh/repos","events_url":"https://api.github.com/users/ErinGreenhalgh/events{/privacy}","received_events_url":"https://api.github.com/users/ErinGreenhalgh/received_events","type":"User","site_admin":false},"body":"I found that it was sorting by updated at (I think) and since we're displaying the item id for the admin i figured it would make most sense to just sort by id ","created_at":"2016-07-07T20:28:46Z","updated_at":"2016-07-07T20:28:46Z","html_url":"https://github.com/seeker105/the_pivot/pull/132#discussion_r69980393","pull_request_url":"https://api.github.com/repos/seeker105/the_pivot/pulls/132","_links":{"self":{"href":"https://api.github.com/repos/seeker105/the_pivot/pulls/comments/69980393"},"html":{"href":"https://github.com/seeker105/the_pivot/pull/132#discussion_r69980393"},"pull_request":{"href":"https://api.github.com/repos/seeker105/the_pivot/pulls/132"}}},"pull_request":{"url":"https://api.github.com/repos/seeker105/the_pivot/pulls/132","id":76632548,"html_url":"https://github.com/seeker105/the_pivot/pull/132","diff_url":"https://github.com/seeker105/the_pivot/pull/132.diff","patch_url":"https://github.com/seeker105/the_pivot/pull/132.patch","issue_url":"https://api.github.com/repos/seeker105/the_pivot/issues/132","number":132,"state":"closed","locked":false,"title":"131 tweak user flow and dashboard tables","user":{"login":"ErinGreenhalgh","id":16656094,"avatar_url":"https://avatars.githubusercontent.com/u/16656094?v=3","gravatar_id":"","url":"https://api.github.com/users/ErinGreenhalgh","html_url":"https://github.com/ErinGreenhalgh","followers_url":"https://api.github.com/users/ErinGreenhalgh/followers","following_url":"https://api.github.com/users/ErinGreenhalgh/following{/other_user}","gists_url":"https://api.github.com/users/ErinGreenhalgh/gists{/gist_id}","starred_url":"https://api.github.com/users/ErinGreenhalgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErinGreenhalgh/subscriptions","organizations_url":"https://api.github.com/users/ErinGreenhalgh/orgs","repos_url":"https://api.github.com/users/ErinGreenhalgh/repos","events_url":"https://api.github.com/users/ErinGreenhalgh/events{/privacy}","received_events_url":"https://api.github.com/users/ErinGreenhalgh/received_events","type":"User","site_admin":false},"body":"Closes #131 \r\nImprove user flow\r\n-edit flash message upon creation of a business to say that biz is pending \r\n-move JS tag to bottom of application.html.erb so it loads properly\r\n-add a link to business dashboard from business show page that only admins and platform admins can see\r\n-add a helper method to orders items on business dashboard by ID","created_at":"2016-07-07T17:15:31Z","updated_at":"2016-07-07T20:28:46Z","closed_at":"2016-07-07T20:00:01Z","merged_at":"2016-07-07T20:00:01Z","merge_commit_sha":"86c9b2640c910e80a8b5e5b07da669b6e27bc39e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/seeker105/the_pivot/pulls/132/commits","review_comments_url":"https://api.github.com/repos/seeker105/the_pivot/pulls/132/comments","review_comment_url":"https://api.github.com/repos/seeker105/the_pivot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seeker105/the_pivot/issues/132/comments","statuses_url":"https://api.github.com/repos/seeker105/the_pivot/statuses/be0fe57f12fb72cc209a294f2b17a7239f403682","head":{"label":"seeker105:131-tweak-user-flow-and-dashboard-tables","ref":"131-tweak-user-flow-and-dashboard-tables","sha":"be0fe57f12fb72cc209a294f2b17a7239f403682","user":{"login":"seeker105","id":15236021,"avatar_url":"https://avatars.githubusercontent.com/u/15236021?v=3","gravatar_id":"","url":"https://api.github.com/users/seeker105","html_url":"https://github.com/seeker105","followers_url":"https://api.github.com/users/seeker105/followers","following_url":"https://api.github.com/users/seeker105/following{/other_user}","gists_url":"https://api.github.com/users/seeker105/gists{/gist_id}","starred_url":"https://api.github.com/users/seeker105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seeker105/subscriptions","organizations_url":"https://api.github.com/users/seeker105/orgs","repos_url":"https://api.github.com/users/seeker105/repos","events_url":"https://api.github.com/users/seeker105/events{/privacy}","received_events_url":"https://api.github.com/users/seeker105/received_events","type":"User","site_admin":false},"repo":{"id":62087291,"name":"the_pivot","full_name":"seeker105/the_pivot","owner":{"login":"seeker105","id":15236021,"avatar_url":"https://avatars.githubusercontent.com/u/15236021?v=3","gravatar_id":"","url":"https://api.github.com/users/seeker105","html_url":"https://github.com/seeker105","followers_url":"https://api.github.com/users/seeker105/followers","following_url":"https://api.github.com/users/seeker105/following{/other_user}","gists_url":"https://api.github.com/users/seeker105/gists{/gist_id}","starred_url":"https://api.github.com/users/seeker105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seeker105/subscriptions","organizations_url":"https://api.github.com/users/seeker105/orgs","repos_url":"https://api.github.com/users/seeker105/repos","events_url":"https://api.github.com/users/seeker105/events{/privacy}","received_events_url":"https://api.github.com/users/seeker105/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seeker105/the_pivot","description":null,"fork":false,"url":"https://api.github.com/repos/seeker105/the_pivot","forks_url":"https://api.github.com/repos/seeker105/the_pivot/forks","keys_url":"https://api.github.com/repos/seeker105/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seeker105/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seeker105/the_pivot/teams","hooks_url":"https://api.github.com/repos/seeker105/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/seeker105/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/seeker105/the_pivot/events","assignees_url":"https://api.github.com/repos/seeker105/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/seeker105/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/seeker105/the_pivot/tags","blobs_url":"https://api.github.com/repos/seeker105/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seeker105/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seeker105/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/seeker105/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seeker105/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/seeker105/the_pivot/languages","stargazers_url":"https://api.github.com/repos/seeker105/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/seeker105/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/seeker105/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/seeker105/the_pivot/subscription","commits_url":"https://api.github.com/repos/seeker105/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/seeker105/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/seeker105/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/seeker105/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/seeker105/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/seeker105/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seeker105/the_pivot/merges","archive_url":"https://api.github.com/repos/seeker105/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seeker105/the_pivot/downloads","issues_url":"https://api.github.com/repos/seeker105/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/seeker105/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/seeker105/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/seeker105/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seeker105/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/seeker105/the_pivot/releases{/id}","deployments_url":"https://api.github.com/repos/seeker105/the_pivot/deployments","created_at":"2016-06-27T20:50:19Z","updated_at":"2016-06-27T20:55:11Z","pushed_at":"2016-07-07T20:05:28Z","git_url":"git://github.com/seeker105/the_pivot.git","ssh_url":"git@github.com:seeker105/the_pivot.git","clone_url":"https://github.com/seeker105/the_pivot.git","svn_url":"https://github.com/seeker105/the_pivot","homepage":null,"size":575,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":14,"forks":1,"open_issues":14,"watchers":0,"default_branch":"master"}},"base":{"label":"seeker105:development","ref":"development","sha":"9ae0a4203cf3f8bfd050a2d4c5d1e1da75931919","user":{"login":"seeker105","id":15236021,"avatar_url":"https://avatars.githubusercontent.com/u/15236021?v=3","gravatar_id":"","url":"https://api.github.com/users/seeker105","html_url":"https://github.com/seeker105","followers_url":"https://api.github.com/users/seeker105/followers","following_url":"https://api.github.com/users/seeker105/following{/other_user}","gists_url":"https://api.github.com/users/seeker105/gists{/gist_id}","starred_url":"https://api.github.com/users/seeker105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seeker105/subscriptions","organizations_url":"https://api.github.com/users/seeker105/orgs","repos_url":"https://api.github.com/users/seeker105/repos","events_url":"https://api.github.com/users/seeker105/events{/privacy}","received_events_url":"https://api.github.com/users/seeker105/received_events","type":"User","site_admin":false},"repo":{"id":62087291,"name":"the_pivot","full_name":"seeker105/the_pivot","owner":{"login":"seeker105","id":15236021,"avatar_url":"https://avatars.githubusercontent.com/u/15236021?v=3","gravatar_id":"","url":"https://api.github.com/users/seeker105","html_url":"https://github.com/seeker105","followers_url":"https://api.github.com/users/seeker105/followers","following_url":"https://api.github.com/users/seeker105/following{/other_user}","gists_url":"https://api.github.com/users/seeker105/gists{/gist_id}","starred_url":"https://api.github.com/users/seeker105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seeker105/subscriptions","organizations_url":"https://api.github.com/users/seeker105/orgs","repos_url":"https://api.github.com/users/seeker105/repos","events_url":"https://api.github.com/users/seeker105/events{/privacy}","received_events_url":"https://api.github.com/users/seeker105/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seeker105/the_pivot","description":null,"fork":false,"url":"https://api.github.com/repos/seeker105/the_pivot","forks_url":"https://api.github.com/repos/seeker105/the_pivot/forks","keys_url":"https://api.github.com/repos/seeker105/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seeker105/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seeker105/the_pivot/teams","hooks_url":"https://api.github.com/repos/seeker105/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/seeker105/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/seeker105/the_pivot/events","assignees_url":"https://api.github.com/repos/seeker105/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/seeker105/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/seeker105/the_pivot/tags","blobs_url":"https://api.github.com/repos/seeker105/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seeker105/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seeker105/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/seeker105/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seeker105/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/seeker105/the_pivot/languages","stargazers_url":"https://api.github.com/repos/seeker105/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/seeker105/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/seeker105/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/seeker105/the_pivot/subscription","commits_url":"https://api.github.com/repos/seeker105/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/seeker105/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/seeker105/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/seeker105/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/seeker105/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/seeker105/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seeker105/the_pivot/merges","archive_url":"https://api.github.com/repos/seeker105/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seeker105/the_pivot/downloads","issues_url":"https://api.github.com/repos/seeker105/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/seeker105/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/seeker105/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/seeker105/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seeker105/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/seeker105/the_pivot/releases{/id}","deployments_url":"https://api.github.com/repos/seeker105/the_pivot/deployments","created_at":"2016-06-27T20:50:19Z","updated_at":"2016-06-27T20:55:11Z","pushed_at":"2016-07-07T20:05:28Z","git_url":"git://github.com/seeker105/the_pivot.git","ssh_url":"git@github.com:seeker105/the_pivot.git","clone_url":"https://github.com/seeker105/the_pivot.git","svn_url":"https://github.com/seeker105/the_pivot","homepage":null,"size":575,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":14,"forks":1,"open_issues":14,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seeker105/the_pivot/pulls/132"},"html":{"href":"https://github.com/seeker105/the_pivot/pull/132"},"issue":{"href":"https://api.github.com/repos/seeker105/the_pivot/issues/132"},"comments":{"href":"https://api.github.com/repos/seeker105/the_pivot/issues/132/comments"},"review_comments":{"href":"https://api.github.com/repos/seeker105/the_pivot/pulls/132/comments"},"review_comment":{"href":"https://api.github.com/repos/seeker105/the_pivot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seeker105/the_pivot/pulls/132/commits"},"statuses":{"href":"https://api.github.com/repos/seeker105/the_pivot/statuses/be0fe57f12fb72cc209a294f2b17a7239f403682"}}}}
{"actor":{"display_login":"ErinGreenhalgh"}}