{"action":"opened","number":2109,"pull_request":{"url":"https://api.github.com/repos/keystonejs/keystone/pulls/2109","id":56278823,"html_url":"https://github.com/keystonejs/keystone/pull/2109","diff_url":"https://github.com/keystonejs/keystone/pull/2109.diff","patch_url":"https://github.com/keystonejs/keystone/pull/2109.patch","issue_url":"https://api.github.com/repos/keystonejs/keystone/issues/2109","number":2109,"state":"open","locked":false,"title":"Pagination Functional Tests","user":{"login":"alsoicode","id":86738,"avatar_url":"https://avatars.githubusercontent.com/u/86738?v=3","gravatar_id":"","url":"https://api.github.com/users/alsoicode","html_url":"https://github.com/alsoicode","followers_url":"https://api.github.com/users/alsoicode/followers","following_url":"https://api.github.com/users/alsoicode/following{/other_user}","gists_url":"https://api.github.com/users/alsoicode/gists{/gist_id}","starred_url":"https://api.github.com/users/alsoicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsoicode/subscriptions","organizations_url":"https://api.github.com/users/alsoicode/orgs","repos_url":"https://api.github.com/users/alsoicode/repos","events_url":"https://api.github.com/users/alsoicode/events{/privacy}","received_events_url":"https://api.github.com/users/alsoicode/received_events","type":"User","site_admin":false},"body":"## Pagination Functional Tests\r\n\r\n- Added simple \"Post\" model with a multi-key, weighted index.\r\n- Added tests and assertions for list.paginate to ensure no existing functionality has been affected by the addition of the `optionalExpression` and `countQuery` modifications.\r\n- Added tests and assertions for a paginated result set that includes an `optionalExpression` that adds metadata to the result.","created_at":"2016-01-17T14:30:09Z","updated_at":"2016-01-17T14:30:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/keystonejs/keystone/pulls/2109/commits","review_comments_url":"https://api.github.com/repos/keystonejs/keystone/pulls/2109/comments","review_comment_url":"https://api.github.com/repos/keystonejs/keystone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/keystonejs/keystone/issues/2109/comments","statuses_url":"https://api.github.com/repos/keystonejs/keystone/statuses/f20ec37c2d34c2e56fde1ed7c367237aded951e1","head":{"label":"alsoicode:pagination-tests","ref":"pagination-tests","sha":"f20ec37c2d34c2e56fde1ed7c367237aded951e1","user":{"login":"alsoicode","id":86738,"avatar_url":"https://avatars.githubusercontent.com/u/86738?v=3","gravatar_id":"","url":"https://api.github.com/users/alsoicode","html_url":"https://github.com/alsoicode","followers_url":"https://api.github.com/users/alsoicode/followers","following_url":"https://api.github.com/users/alsoicode/following{/other_user}","gists_url":"https://api.github.com/users/alsoicode/gists{/gist_id}","starred_url":"https://api.github.com/users/alsoicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsoicode/subscriptions","organizations_url":"https://api.github.com/users/alsoicode/orgs","repos_url":"https://api.github.com/users/alsoicode/repos","events_url":"https://api.github.com/users/alsoicode/events{/privacy}","received_events_url":"https://api.github.com/users/alsoicode/received_events","type":"User","site_admin":false},"repo":{"id":49599824,"name":"keystone","full_name":"alsoicode/keystone","owner":{"login":"alsoicode","id":86738,"avatar_url":"https://avatars.githubusercontent.com/u/86738?v=3","gravatar_id":"","url":"https://api.github.com/users/alsoicode","html_url":"https://github.com/alsoicode","followers_url":"https://api.github.com/users/alsoicode/followers","following_url":"https://api.github.com/users/alsoicode/following{/other_user}","gists_url":"https://api.github.com/users/alsoicode/gists{/gist_id}","starred_url":"https://api.github.com/users/alsoicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsoicode/subscriptions","organizations_url":"https://api.github.com/users/alsoicode/orgs","repos_url":"https://api.github.com/users/alsoicode/repos","events_url":"https://api.github.com/users/alsoicode/events{/privacy}","received_events_url":"https://api.github.com/users/alsoicode/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alsoicode/keystone","description":"node.js cms and web app framework","fork":true,"url":"https://api.github.com/repos/alsoicode/keystone","forks_url":"https://api.github.com/repos/alsoicode/keystone/forks","keys_url":"https://api.github.com/repos/alsoicode/keystone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alsoicode/keystone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alsoicode/keystone/teams","hooks_url":"https://api.github.com/repos/alsoicode/keystone/hooks","issue_events_url":"https://api.github.com/repos/alsoicode/keystone/issues/events{/number}","events_url":"https://api.github.com/repos/alsoicode/keystone/events","assignees_url":"https://api.github.com/repos/alsoicode/keystone/assignees{/user}","branches_url":"https://api.github.com/repos/alsoicode/keystone/branches{/branch}","tags_url":"https://api.github.com/repos/alsoicode/keystone/tags","blobs_url":"https://api.github.com/repos/alsoicode/keystone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alsoicode/keystone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alsoicode/keystone/git/refs{/sha}","trees_url":"https://api.github.com/repos/alsoicode/keystone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alsoicode/keystone/statuses/{sha}","languages_url":"https://api.github.com/repos/alsoicode/keystone/languages","stargazers_url":"https://api.github.com/repos/alsoicode/keystone/stargazers","contributors_url":"https://api.github.com/repos/alsoicode/keystone/contributors","subscribers_url":"https://api.github.com/repos/alsoicode/keystone/subscribers","subscription_url":"https://api.github.com/repos/alsoicode/keystone/subscription","commits_url":"https://api.github.com/repos/alsoicode/keystone/commits{/sha}","git_commits_url":"https://api.github.com/repos/alsoicode/keystone/git/commits{/sha}","comments_url":"https://api.github.com/repos/alsoicode/keystone/comments{/number}","issue_comment_url":"https://api.github.com/repos/alsoicode/keystone/issues/comments{/number}","contents_url":"https://api.github.com/repos/alsoicode/keystone/contents/{+path}","compare_url":"https://api.github.com/repos/alsoicode/keystone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alsoicode/keystone/merges","archive_url":"https://api.github.com/repos/alsoicode/keystone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alsoicode/keystone/downloads","issues_url":"https://api.github.com/repos/alsoicode/keystone/issues{/number}","pulls_url":"https://api.github.com/repos/alsoicode/keystone/pulls{/number}","milestones_url":"https://api.github.com/repos/alsoicode/keystone/milestones{/number}","notifications_url":"https://api.github.com/repos/alsoicode/keystone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alsoicode/keystone/labels{/name}","releases_url":"https://api.github.com/repos/alsoicode/keystone/releases{/id}","created_at":"2016-01-13T20:28:02Z","updated_at":"2016-01-13T20:28:04Z","pushed_at":"2016-01-17T14:26:55Z","git_url":"git://github.com/alsoicode/keystone.git","ssh_url":"git@github.com:alsoicode/keystone.git","clone_url":"https://github.com/alsoicode/keystone.git","svn_url":"https://github.com/alsoicode/keystone","homepage":"http://www.keystonejs.com","size":15736,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"master"}},"base":{"label":"keystonejs:master","ref":"master","sha":"9e5e3ddbdcac26d2e11fccee1262ff4793999550","user":{"login":"keystonejs","id":6118534,"avatar_url":"https://avatars.githubusercontent.com/u/6118534?v=3","gravatar_id":"","url":"https://api.github.com/users/keystonejs","html_url":"https://github.com/keystonejs","followers_url":"https://api.github.com/users/keystonejs/followers","following_url":"https://api.github.com/users/keystonejs/following{/other_user}","gists_url":"https://api.github.com/users/keystonejs/gists{/gist_id}","starred_url":"https://api.github.com/users/keystonejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keystonejs/subscriptions","organizations_url":"https://api.github.com/users/keystonejs/orgs","repos_url":"https://api.github.com/users/keystonejs/repos","events_url":"https://api.github.com/users/keystonejs/events{/privacy}","received_events_url":"https://api.github.com/users/keystonejs/received_events","type":"Organization","site_admin":false},"repo":{"id":11116372,"name":"keystone","full_name":"keystonejs/keystone","owner":{"login":"keystonejs","id":6118534,"avatar_url":"https://avatars.githubusercontent.com/u/6118534?v=3","gravatar_id":"","url":"https://api.github.com/users/keystonejs","html_url":"https://github.com/keystonejs","followers_url":"https://api.github.com/users/keystonejs/followers","following_url":"https://api.github.com/users/keystonejs/following{/other_user}","gists_url":"https://api.github.com/users/keystonejs/gists{/gist_id}","starred_url":"https://api.github.com/users/keystonejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keystonejs/subscriptions","organizations_url":"https://api.github.com/users/keystonejs/orgs","repos_url":"https://api.github.com/users/keystonejs/repos","events_url":"https://api.github.com/users/keystonejs/events{/privacy}","received_events_url":"https://api.github.com/users/keystonejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keystonejs/keystone","description":"node.js cms and web app framework","fork":false,"url":"https://api.github.com/repos/keystonejs/keystone","forks_url":"https://api.github.com/repos/keystonejs/keystone/forks","keys_url":"https://api.github.com/repos/keystonejs/keystone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keystonejs/keystone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keystonejs/keystone/teams","hooks_url":"https://api.github.com/repos/keystonejs/keystone/hooks","issue_events_url":"https://api.github.com/repos/keystonejs/keystone/issues/events{/number}","events_url":"https://api.github.com/repos/keystonejs/keystone/events","assignees_url":"https://api.github.com/repos/keystonejs/keystone/assignees{/user}","branches_url":"https://api.github.com/repos/keystonejs/keystone/branches{/branch}","tags_url":"https://api.github.com/repos/keystonejs/keystone/tags","blobs_url":"https://api.github.com/repos/keystonejs/keystone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keystonejs/keystone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keystonejs/keystone/git/refs{/sha}","trees_url":"https://api.github.com/repos/keystonejs/keystone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keystonejs/keystone/statuses/{sha}","languages_url":"https://api.github.com/repos/keystonejs/keystone/languages","stargazers_url":"https://api.github.com/repos/keystonejs/keystone/stargazers","contributors_url":"https://api.github.com/repos/keystonejs/keystone/contributors","subscribers_url":"https://api.github.com/repos/keystonejs/keystone/subscribers","subscription_url":"https://api.github.com/repos/keystonejs/keystone/subscription","commits_url":"https://api.github.com/repos/keystonejs/keystone/commits{/sha}","git_commits_url":"https://api.github.com/repos/keystonejs/keystone/git/commits{/sha}","comments_url":"https://api.github.com/repos/keystonejs/keystone/comments{/number}","issue_comment_url":"https://api.github.com/repos/keystonejs/keystone/issues/comments{/number}","contents_url":"https://api.github.com/repos/keystonejs/keystone/contents/{+path}","compare_url":"https://api.github.com/repos/keystonejs/keystone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keystonejs/keystone/merges","archive_url":"https://api.github.com/repos/keystonejs/keystone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keystonejs/keystone/downloads","issues_url":"https://api.github.com/repos/keystonejs/keystone/issues{/number}","pulls_url":"https://api.github.com/repos/keystonejs/keystone/pulls{/number}","milestones_url":"https://api.github.com/repos/keystonejs/keystone/milestones{/number}","notifications_url":"https://api.github.com/repos/keystonejs/keystone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keystonejs/keystone/labels{/name}","releases_url":"https://api.github.com/repos/keystonejs/keystone/releases{/id}","created_at":"2013-07-02T05:01:55Z","updated_at":"2016-01-17T07:27:38Z","pushed_at":"2016-01-17T11:35:38Z","git_url":"git://github.com/keystonejs/keystone.git","ssh_url":"git@github.com:keystonejs/keystone.git","clone_url":"https://github.com/keystonejs/keystone.git","svn_url":"https://github.com/keystonejs/keystone","homepage":"http://www.keystonejs.com","size":21077,"stargazers_count":5209,"watchers_count":5209,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":868,"mirror_url":null,"open_issues_count":549,"forks":868,"open_issues":549,"watchers":5209,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keystonejs/keystone/pulls/2109"},"html":{"href":"https://github.com/keystonejs/keystone/pull/2109"},"issue":{"href":"https://api.github.com/repos/keystonejs/keystone/issues/2109"},"comments":{"href":"https://api.github.com/repos/keystonejs/keystone/issues/2109/comments"},"review_comments":{"href":"https://api.github.com/repos/keystonejs/keystone/pulls/2109/comments"},"review_comment":{"href":"https://api.github.com/repos/keystonejs/keystone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/keystonejs/keystone/pulls/2109/commits"},"statuses":{"href":"https://api.github.com/repos/keystonejs/keystone/statuses/f20ec37c2d34c2e56fde1ed7c367237aded951e1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":206,"deletions":0,"changed_files":2}}