{"action":"created","comment":{"url":"https://api.github.com/repos/s3364859/CPT331/pulls/comments/85671718","pull_request_review_id":6373929,"id":85671718,"diff_hunk":"@@ -0,0 +1,61 @@\n+﻿CREATE PROCEDURE Crime.spGetCrimeOffenceLocalGovernmentAreaState\n+\n+@Skip INT = 0,\n+@Take INT = 100,\n+@OrderBy VARCHAR(10) = 'ID',\n+@SortDirection VARCHAR(4) = 'ASC'\n+\n+AS\n+\n+IF (@OrderBy IS NULL) OR (@OrderBy = '')\n+BEGIN\n+\tSET @OrderBy = 'ID'\n+END\n+\n+IF (@SortDirection IS NULL) OR (@SortDirection = '')","path":"CPT331.Data.Migration/Migrations/Crime.spGetCrimeOffenceLocalGovernmentAreaState.sql","position":15,"original_position":15,"commit_id":"9d25900322c1ce867ceb765e98d9f549186bb604","original_commit_id":"9d25900322c1ce867ceb765e98d9f549186bb604","user":{"login":"s3364859","id":22001846,"avatar_url":"https://avatars.githubusercontent.com/u/22001846?v=3","gravatar_id":"","url":"https://api.github.com/users/s3364859","html_url":"https://github.com/s3364859","followers_url":"https://api.github.com/users/s3364859/followers","following_url":"https://api.github.com/users/s3364859/following{/other_user}","gists_url":"https://api.github.com/users/s3364859/gists{/gist_id}","starred_url":"https://api.github.com/users/s3364859/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s3364859/subscriptions","organizations_url":"https://api.github.com/users/s3364859/orgs","repos_url":"https://api.github.com/users/s3364859/repos","events_url":"https://api.github.com/users/s3364859/events{/privacy}","received_events_url":"https://api.github.com/users/s3364859/received_events","type":"User","site_admin":false},"body":"Or this one either?","created_at":"2016-10-30T22:47:11Z","updated_at":"2016-10-30T22:50:08Z","html_url":"https://github.com/s3364859/CPT331/pull/32#discussion_r85671718","pull_request_url":"https://api.github.com/repos/s3364859/CPT331/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/s3364859/CPT331/pulls/comments/85671718"},"html":{"href":"https://github.com/s3364859/CPT331/pull/32#discussion_r85671718"},"pull_request":{"href":"https://api.github.com/repos/s3364859/CPT331/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/s3364859/CPT331/pulls/32","id":91479691,"html_url":"https://github.com/s3364859/CPT331/pull/32","diff_url":"https://github.com/s3364859/CPT331/pull/32.diff","patch_url":"https://github.com/s3364859/CPT331/pull/32.patch","issue_url":"https://api.github.com/repos/s3364859/CPT331/issues/32","number":32,"state":"open","locked":false,"title":"Implement offset for crime data","user":{"login":"s3364859","id":22001846,"avatar_url":"https://avatars.githubusercontent.com/u/22001846?v=3","gravatar_id":"","url":"https://api.github.com/users/s3364859","html_url":"https://github.com/s3364859","followers_url":"https://api.github.com/users/s3364859/followers","following_url":"https://api.github.com/users/s3364859/following{/other_user}","gists_url":"https://api.github.com/users/s3364859/gists{/gist_id}","starred_url":"https://api.github.com/users/s3364859/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s3364859/subscriptions","organizations_url":"https://api.github.com/users/s3364859/orgs","repos_url":"https://api.github.com/users/s3364859/repos","events_url":"https://api.github.com/users/s3364859/events{/privacy}","received_events_url":"https://api.github.com/users/s3364859/received_events","type":"User","site_admin":false},"body":"In this PR:\r\n- Implemented offset for crime data, which required some fiddling about\r\n- Added in the ability to export crime data, but commented it out as it's not very nice. Could use an extra set of eyes here\r\n- Please do not add code to this PR\r\n\r\n![crime](https://cloud.githubusercontent.com/assets/22001846/19827409/bf341a0e-9df4-11e6-8536-857727c78eb4.gif)\r\n","created_at":"2016-10-29T05:29:16Z","updated_at":"2016-10-30T22:50:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf687a589b5b4d51832674097154e432e82e4eed","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/s3364859/CPT331/pulls/32/commits","review_comments_url":"https://api.github.com/repos/s3364859/CPT331/pulls/32/comments","review_comment_url":"https://api.github.com/repos/s3364859/CPT331/pulls/comments{/number}","comments_url":"https://api.github.com/repos/s3364859/CPT331/issues/32/comments","statuses_url":"https://api.github.com/repos/s3364859/CPT331/statuses/9d25900322c1ce867ceb765e98d9f549186bb604","head":{"label":"s3364859:Crimes","ref":"Crimes","sha":"9d25900322c1ce867ceb765e98d9f549186bb604","user":{"login":"s3364859","id":22001846,"avatar_url":"https://avatars.githubusercontent.com/u/22001846?v=3","gravatar_id":"","url":"https://api.github.com/users/s3364859","html_url":"https://github.com/s3364859","followers_url":"https://api.github.com/users/s3364859/followers","following_url":"https://api.github.com/users/s3364859/following{/other_user}","gists_url":"https://api.github.com/users/s3364859/gists{/gist_id}","starred_url":"https://api.github.com/users/s3364859/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s3364859/subscriptions","organizations_url":"https://api.github.com/users/s3364859/orgs","repos_url":"https://api.github.com/users/s3364859/repos","events_url":"https://api.github.com/users/s3364859/events{/privacy}","received_events_url":"https://api.github.com/users/s3364859/received_events","type":"User","site_admin":false},"repo":{"id":67406982,"name":"CPT331","full_name":"s3364859/CPT331","owner":{"login":"s3364859","id":22001846,"avatar_url":"https://avatars.githubusercontent.com/u/22001846?v=3","gravatar_id":"","url":"https://api.github.com/users/s3364859","html_url":"https://github.com/s3364859","followers_url":"https://api.github.com/users/s3364859/followers","following_url":"https://api.github.com/users/s3364859/following{/other_user}","gists_url":"https://api.github.com/users/s3364859/gists{/gist_id}","starred_url":"https://api.github.com/users/s3364859/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s3364859/subscriptions","organizations_url":"https://api.github.com/users/s3364859/orgs","repos_url":"https://api.github.com/users/s3364859/repos","events_url":"https://api.github.com/users/s3364859/events{/privacy}","received_events_url":"https://api.github.com/users/s3364859/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/s3364859/CPT331","description":"EventGuardian - Spatio News Stands","fork":false,"url":"https://api.github.com/repos/s3364859/CPT331","forks_url":"https://api.github.com/repos/s3364859/CPT331/forks","keys_url":"https://api.github.com/repos/s3364859/CPT331/keys{/key_id}","collaborators_url":"https://api.github.com/repos/s3364859/CPT331/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/s3364859/CPT331/teams","hooks_url":"https://api.github.com/repos/s3364859/CPT331/hooks","issue_events_url":"https://api.github.com/repos/s3364859/CPT331/issues/events{/number}","events_url":"https://api.github.com/repos/s3364859/CPT331/events","assignees_url":"https://api.github.com/repos/s3364859/CPT331/assignees{/user}","branches_url":"https://api.github.com/repos/s3364859/CPT331/branches{/branch}","tags_url":"https://api.github.com/repos/s3364859/CPT331/tags","blobs_url":"https://api.github.com/repos/s3364859/CPT331/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/s3364859/CPT331/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/s3364859/CPT331/git/refs{/sha}","trees_url":"https://api.github.com/repos/s3364859/CPT331/git/trees{/sha}","statuses_url":"https://api.github.com/repos/s3364859/CPT331/statuses/{sha}","languages_url":"https://api.github.com/repos/s3364859/CPT331/languages","stargazers_url":"https://api.github.com/repos/s3364859/CPT331/stargazers","contributors_url":"https://api.github.com/repos/s3364859/CPT331/contributors","subscribers_url":"https://api.github.com/repos/s3364859/CPT331/subscribers","subscription_url":"https://api.github.com/repos/s3364859/CPT331/subscription","commits_url":"https://api.github.com/repos/s3364859/CPT331/commits{/sha}","git_commits_url":"https://api.github.com/repos/s3364859/CPT331/git/commits{/sha}","comments_url":"https://api.github.com/repos/s3364859/CPT331/comments{/number}","issue_comment_url":"https://api.github.com/repos/s3364859/CPT331/issues/comments{/number}","contents_url":"https://api.github.com/repos/s3364859/CPT331/contents/{+path}","compare_url":"https://api.github.com/repos/s3364859/CPT331/compare/{base}...{head}","merges_url":"https://api.github.com/repos/s3364859/CPT331/merges","archive_url":"https://api.github.com/repos/s3364859/CPT331/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/s3364859/CPT331/downloads","issues_url":"https://api.github.com/repos/s3364859/CPT331/issues{/number}","pulls_url":"https://api.github.com/repos/s3364859/CPT331/pulls{/number}","milestones_url":"https://api.github.com/repos/s3364859/CPT331/milestones{/number}","notifications_url":"https://api.github.com/repos/s3364859/CPT331/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/s3364859/CPT331/labels{/name}","releases_url":"https://api.github.com/repos/s3364859/CPT331/releases{/id}","deployments_url":"https://api.github.com/repos/s3364859/CPT331/deployments","created_at":"2016-09-05T09:26:26Z","updated_at":"2016-10-23T00:17:04Z","pushed_at":"2016-10-30T22:45:15Z","git_url":"git://github.com/s3364859/CPT331.git","ssh_url":"git@github.com:s3364859/CPT331.git","clone_url":"https://github.com/s3364859/CPT331.git","svn_url":"https://github.com/s3364859/CPT331","homepage":"","size":6422,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"s3364859:master","ref":"master","sha":"91645fec227e6a1957ef0200062a277683929aed","user":{"login":"s3364859","id":22001846,"avatar_url":"https://avatars.githubusercontent.com/u/22001846?v=3","gravatar_id":"","url":"https://api.github.com/users/s3364859","html_url":"https://github.com/s3364859","followers_url":"https://api.github.com/users/s3364859/followers","following_url":"https://api.github.com/users/s3364859/following{/other_user}","gists_url":"https://api.github.com/users/s3364859/gists{/gist_id}","starred_url":"https://api.github.com/users/s3364859/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s3364859/subscriptions","organizations_url":"https://api.github.com/users/s3364859/orgs","repos_url":"https://api.github.com/users/s3364859/repos","events_url":"https://api.github.com/users/s3364859/events{/privacy}","received_events_url":"https://api.github.com/users/s3364859/received_events","type":"User","site_admin":false},"repo":{"id":67406982,"name":"CPT331","full_name":"s3364859/CPT331","owner":{"login":"s3364859","id":22001846,"avatar_url":"https://avatars.githubusercontent.com/u/22001846?v=3","gravatar_id":"","url":"https://api.github.com/users/s3364859","html_url":"https://github.com/s3364859","followers_url":"https://api.github.com/users/s3364859/followers","following_url":"https://api.github.com/users/s3364859/following{/other_user}","gists_url":"https://api.github.com/users/s3364859/gists{/gist_id}","starred_url":"https://api.github.com/users/s3364859/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s3364859/subscriptions","organizations_url":"https://api.github.com/users/s3364859/orgs","repos_url":"https://api.github.com/users/s3364859/repos","events_url":"https://api.github.com/users/s3364859/events{/privacy}","received_events_url":"https://api.github.com/users/s3364859/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/s3364859/CPT331","description":"EventGuardian - Spatio News Stands","fork":false,"url":"https://api.github.com/repos/s3364859/CPT331","forks_url":"https://api.github.com/repos/s3364859/CPT331/forks","keys_url":"https://api.github.com/repos/s3364859/CPT331/keys{/key_id}","collaborators_url":"https://api.github.com/repos/s3364859/CPT331/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/s3364859/CPT331/teams","hooks_url":"https://api.github.com/repos/s3364859/CPT331/hooks","issue_events_url":"https://api.github.com/repos/s3364859/CPT331/issues/events{/number}","events_url":"https://api.github.com/repos/s3364859/CPT331/events","assignees_url":"https://api.github.com/repos/s3364859/CPT331/assignees{/user}","branches_url":"https://api.github.com/repos/s3364859/CPT331/branches{/branch}","tags_url":"https://api.github.com/repos/s3364859/CPT331/tags","blobs_url":"https://api.github.com/repos/s3364859/CPT331/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/s3364859/CPT331/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/s3364859/CPT331/git/refs{/sha}","trees_url":"https://api.github.com/repos/s3364859/CPT331/git/trees{/sha}","statuses_url":"https://api.github.com/repos/s3364859/CPT331/statuses/{sha}","languages_url":"https://api.github.com/repos/s3364859/CPT331/languages","stargazers_url":"https://api.github.com/repos/s3364859/CPT331/stargazers","contributors_url":"https://api.github.com/repos/s3364859/CPT331/contributors","subscribers_url":"https://api.github.com/repos/s3364859/CPT331/subscribers","subscription_url":"https://api.github.com/repos/s3364859/CPT331/subscription","commits_url":"https://api.github.com/repos/s3364859/CPT331/commits{/sha}","git_commits_url":"https://api.github.com/repos/s3364859/CPT331/git/commits{/sha}","comments_url":"https://api.github.com/repos/s3364859/CPT331/comments{/number}","issue_comment_url":"https://api.github.com/repos/s3364859/CPT331/issues/comments{/number}","contents_url":"https://api.github.com/repos/s3364859/CPT331/contents/{+path}","compare_url":"https://api.github.com/repos/s3364859/CPT331/compare/{base}...{head}","merges_url":"https://api.github.com/repos/s3364859/CPT331/merges","archive_url":"https://api.github.com/repos/s3364859/CPT331/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/s3364859/CPT331/downloads","issues_url":"https://api.github.com/repos/s3364859/CPT331/issues{/number}","pulls_url":"https://api.github.com/repos/s3364859/CPT331/pulls{/number}","milestones_url":"https://api.github.com/repos/s3364859/CPT331/milestones{/number}","notifications_url":"https://api.github.com/repos/s3364859/CPT331/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/s3364859/CPT331/labels{/name}","releases_url":"https://api.github.com/repos/s3364859/CPT331/releases{/id}","deployments_url":"https://api.github.com/repos/s3364859/CPT331/deployments","created_at":"2016-09-05T09:26:26Z","updated_at":"2016-10-23T00:17:04Z","pushed_at":"2016-10-30T22:45:15Z","git_url":"git://github.com/s3364859/CPT331.git","ssh_url":"git@github.com:s3364859/CPT331.git","clone_url":"https://github.com/s3364859/CPT331.git","svn_url":"https://github.com/s3364859/CPT331","homepage":"","size":6422,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/s3364859/CPT331/pulls/32"},"html":{"href":"https://github.com/s3364859/CPT331/pull/32"},"issue":{"href":"https://api.github.com/repos/s3364859/CPT331/issues/32"},"comments":{"href":"https://api.github.com/repos/s3364859/CPT331/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/s3364859/CPT331/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/s3364859/CPT331/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/s3364859/CPT331/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/s3364859/CPT331/statuses/9d25900322c1ce867ceb765e98d9f549186bb604"}}}}
{"actor":{"display_login":"s3364859"}}