{"action":"opened","number":126,"pull_request":{"url":"https://api.github.com/repos/azavea/raster-foundry/pulls/126","id":46186920,"html_url":"https://github.com/azavea/raster-foundry/pull/126","diff_url":"https://github.com/azavea/raster-foundry/pull/126.diff","patch_url":"https://github.com/azavea/raster-foundry/pull/126.patch","issue_url":"https://api.github.com/repos/azavea/raster-foundry/issues/126","number":126,"state":"open","locked":false,"title":"Feature/lol/server side sorting","user":{"login":"lliss","id":903219,"avatar_url":"https://avatars.githubusercontent.com/u/903219?v=3","gravatar_id":"","url":"https://api.github.com/users/lliss","html_url":"https://github.com/lliss","followers_url":"https://api.github.com/users/lliss/followers","following_url":"https://api.github.com/users/lliss/following{/other_user}","gists_url":"https://api.github.com/users/lliss/gists{/gist_id}","starred_url":"https://api.github.com/users/lliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lliss/subscriptions","organizations_url":"https://api.github.com/users/lliss/orgs","repos_url":"https://api.github.com/users/lliss/repos","events_url":"https://api.github.com/users/lliss/events{/privacy}","received_events_url":"https://api.github.com/users/lliss/received_events","type":"User","site_admin":false},"body":"Connects #99 \r\n\r\nRelated to #101 \r\n\r\nOnly the last three commits are part of this. The rest are part of #101 \r\n\r\nAdds back-end sorting and filtering required by UI.\r\n\r\nTo test:\r\n * Create some mock data.\r\n * Attempt to filter by a string or substring.\r\n * Ensure the results contain the string or substring in either name, tag, or organization of the layer.\r\n * Sort by the various fields.\r\n * Ensure sorting and filtering work together.","created_at":"2015-09-28T17:51:56Z","updated_at":"2015-09-28T17:51:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/azavea/raster-foundry/pulls/126/commits","review_comments_url":"https://api.github.com/repos/azavea/raster-foundry/pulls/126/comments","review_comment_url":"https://api.github.com/repos/azavea/raster-foundry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azavea/raster-foundry/issues/126/comments","statuses_url":"https://api.github.com/repos/azavea/raster-foundry/statuses/2106e41d25c999e1334cefdd7f07093bcd73c310","head":{"label":"lliss:feature/lol/server-side-sorting","ref":"feature/lol/server-side-sorting","sha":"2106e41d25c999e1334cefdd7f07093bcd73c310","user":{"login":"lliss","id":903219,"avatar_url":"https://avatars.githubusercontent.com/u/903219?v=3","gravatar_id":"","url":"https://api.github.com/users/lliss","html_url":"https://github.com/lliss","followers_url":"https://api.github.com/users/lliss/followers","following_url":"https://api.github.com/users/lliss/following{/other_user}","gists_url":"https://api.github.com/users/lliss/gists{/gist_id}","starred_url":"https://api.github.com/users/lliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lliss/subscriptions","organizations_url":"https://api.github.com/users/lliss/orgs","repos_url":"https://api.github.com/users/lliss/repos","events_url":"https://api.github.com/users/lliss/events{/privacy}","received_events_url":"https://api.github.com/users/lliss/received_events","type":"User","site_admin":false},"repo":{"id":40502568,"name":"raster-foundry","full_name":"lliss/raster-foundry","owner":{"login":"lliss","id":903219,"avatar_url":"https://avatars.githubusercontent.com/u/903219?v=3","gravatar_id":"","url":"https://api.github.com/users/lliss","html_url":"https://github.com/lliss","followers_url":"https://api.github.com/users/lliss/followers","following_url":"https://api.github.com/users/lliss/following{/other_user}","gists_url":"https://api.github.com/users/lliss/gists{/gist_id}","starred_url":"https://api.github.com/users/lliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lliss/subscriptions","organizations_url":"https://api.github.com/users/lliss/orgs","repos_url":"https://api.github.com/users/lliss/repos","events_url":"https://api.github.com/users/lliss/events{/privacy}","received_events_url":"https://api.github.com/users/lliss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lliss/raster-foundry","description":"Raster Foundry.","fork":true,"url":"https://api.github.com/repos/lliss/raster-foundry","forks_url":"https://api.github.com/repos/lliss/raster-foundry/forks","keys_url":"https://api.github.com/repos/lliss/raster-foundry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lliss/raster-foundry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lliss/raster-foundry/teams","hooks_url":"https://api.github.com/repos/lliss/raster-foundry/hooks","issue_events_url":"https://api.github.com/repos/lliss/raster-foundry/issues/events{/number}","events_url":"https://api.github.com/repos/lliss/raster-foundry/events","assignees_url":"https://api.github.com/repos/lliss/raster-foundry/assignees{/user}","branches_url":"https://api.github.com/repos/lliss/raster-foundry/branches{/branch}","tags_url":"https://api.github.com/repos/lliss/raster-foundry/tags","blobs_url":"https://api.github.com/repos/lliss/raster-foundry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lliss/raster-foundry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lliss/raster-foundry/git/refs{/sha}","trees_url":"https://api.github.com/repos/lliss/raster-foundry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lliss/raster-foundry/statuses/{sha}","languages_url":"https://api.github.com/repos/lliss/raster-foundry/languages","stargazers_url":"https://api.github.com/repos/lliss/raster-foundry/stargazers","contributors_url":"https://api.github.com/repos/lliss/raster-foundry/contributors","subscribers_url":"https://api.github.com/repos/lliss/raster-foundry/subscribers","subscription_url":"https://api.github.com/repos/lliss/raster-foundry/subscription","commits_url":"https://api.github.com/repos/lliss/raster-foundry/commits{/sha}","git_commits_url":"https://api.github.com/repos/lliss/raster-foundry/git/commits{/sha}","comments_url":"https://api.github.com/repos/lliss/raster-foundry/comments{/number}","issue_comment_url":"https://api.github.com/repos/lliss/raster-foundry/issues/comments{/number}","contents_url":"https://api.github.com/repos/lliss/raster-foundry/contents/{+path}","compare_url":"https://api.github.com/repos/lliss/raster-foundry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lliss/raster-foundry/merges","archive_url":"https://api.github.com/repos/lliss/raster-foundry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lliss/raster-foundry/downloads","issues_url":"https://api.github.com/repos/lliss/raster-foundry/issues{/number}","pulls_url":"https://api.github.com/repos/lliss/raster-foundry/pulls{/number}","milestones_url":"https://api.github.com/repos/lliss/raster-foundry/milestones{/number}","notifications_url":"https://api.github.com/repos/lliss/raster-foundry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lliss/raster-foundry/labels{/name}","releases_url":"https://api.github.com/repos/lliss/raster-foundry/releases{/id}","created_at":"2015-08-10T19:46:24Z","updated_at":"2015-08-10T19:46:25Z","pushed_at":"2015-09-28T17:48:57Z","git_url":"git://github.com/lliss/raster-foundry.git","ssh_url":"git@github.com:lliss/raster-foundry.git","clone_url":"https://github.com/lliss/raster-foundry.git","svn_url":"https://github.com/lliss/raster-foundry","homepage":null,"size":12531,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"azavea:develop","ref":"develop","sha":"827b8e463d84b7e1a640e14efb8cec7a810b324f","user":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":36464140,"name":"raster-foundry","full_name":"azavea/raster-foundry","owner":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/raster-foundry","description":"Raster Foundry.","fork":false,"url":"https://api.github.com/repos/azavea/raster-foundry","forks_url":"https://api.github.com/repos/azavea/raster-foundry/forks","keys_url":"https://api.github.com/repos/azavea/raster-foundry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/raster-foundry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/raster-foundry/teams","hooks_url":"https://api.github.com/repos/azavea/raster-foundry/hooks","issue_events_url":"https://api.github.com/repos/azavea/raster-foundry/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/raster-foundry/events","assignees_url":"https://api.github.com/repos/azavea/raster-foundry/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/raster-foundry/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/raster-foundry/tags","blobs_url":"https://api.github.com/repos/azavea/raster-foundry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/raster-foundry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/raster-foundry/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/raster-foundry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/raster-foundry/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/raster-foundry/languages","stargazers_url":"https://api.github.com/repos/azavea/raster-foundry/stargazers","contributors_url":"https://api.github.com/repos/azavea/raster-foundry/contributors","subscribers_url":"https://api.github.com/repos/azavea/raster-foundry/subscribers","subscription_url":"https://api.github.com/repos/azavea/raster-foundry/subscription","commits_url":"https://api.github.com/repos/azavea/raster-foundry/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/raster-foundry/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/raster-foundry/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/raster-foundry/issues/comments{/number}","contents_url":"https://api.github.com/repos/azavea/raster-foundry/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/raster-foundry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/raster-foundry/merges","archive_url":"https://api.github.com/repos/azavea/raster-foundry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/raster-foundry/downloads","issues_url":"https://api.github.com/repos/azavea/raster-foundry/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/raster-foundry/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/raster-foundry/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/raster-foundry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/raster-foundry/labels{/name}","releases_url":"https://api.github.com/repos/azavea/raster-foundry/releases{/id}","created_at":"2015-05-28T20:25:45Z","updated_at":"2015-09-03T18:17:55Z","pushed_at":"2015-09-25T20:16:31Z","git_url":"git://github.com/azavea/raster-foundry.git","ssh_url":"git@github.com:azavea/raster-foundry.git","clone_url":"https://github.com/azavea/raster-foundry.git","svn_url":"https://github.com/azavea/raster-foundry","homepage":null,"size":13120,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":39,"forks":7,"open_issues":39,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/126"},"html":{"href":"https://github.com/azavea/raster-foundry/pull/126"},"issue":{"href":"https://api.github.com/repos/azavea/raster-foundry/issues/126"},"comments":{"href":"https://api.github.com/repos/azavea/raster-foundry/issues/126/comments"},"review_comments":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/126/comments"},"review_comment":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/126/commits"},"statuses":{"href":"https://api.github.com/repos/azavea/raster-foundry/statuses/2106e41d25c999e1334cefdd7f07093bcd73c310"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":353,"deletions":78,"changed_files":5}}