{"action":"closed","number":239,"pull_request":{"url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/239","id":203824376,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzODI0Mzc2","html_url":"https://github.com/alphagov/pay-direct-debit-connector/pull/239","diff_url":"https://github.com/alphagov/pay-direct-debit-connector/pull/239.diff","patch_url":"https://github.com/alphagov/pay-direct-debit-connector/pull/239.patch","issue_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/239","number":239,"state":"closed","locked":false,"title":"PP-3680 Fixed pagination when total is 0","user":{"login":"danworth","id":31340341,"node_id":"MDQ6VXNlcjMxMzQwMzQx","avatar_url":"https://avatars0.githubusercontent.com/u/31340341?v=4","gravatar_id":"","url":"https://api.github.com/users/danworth","html_url":"https://github.com/danworth","followers_url":"https://api.github.com/users/danworth/followers","following_url":"https://api.github.com/users/danworth/following{/other_user}","gists_url":"https://api.github.com/users/danworth/gists{/gist_id}","starred_url":"https://api.github.com/users/danworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danworth/subscriptions","organizations_url":"https://api.github.com/users/danworth/orgs","repos_url":"https://api.github.com/users/danworth/repos","events_url":"https://api.github.com/users/danworth/events{/privacy}","received_events_url":"https://api.github.com/users/danworth/received_events","type":"User","site_admin":false},"body":"- Fix bug which incorrectly sets the last_page page number to 0 if the total is 0.\r\nIt should be 1.","created_at":"2018-07-25T12:42:59Z","updated_at":"2018-07-25T12:49:25Z","closed_at":"2018-07-25T12:49:25Z","merged_at":"2018-07-25T12:49:25Z","merge_commit_sha":"a2f0a67d1a879bf6d931ead9078ac9891f51c530","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/239/commits","review_comments_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/239/comments","review_comment_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/239/comments","statuses_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/statuses/32fcb4de1f929aedf84fc8223dcca1ea2c8c4860","head":{"label":"alphagov:PP-3680-Fix-Pagination","ref":"PP-3680-Fix-Pagination","sha":"32fcb4de1f929aedf84fc8223dcca1ea2c8c4860","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":107574547,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc1NzQ1NDc=","name":"pay-direct-debit-connector","full_name":"alphagov/pay-direct-debit-connector","owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/pay-direct-debit-connector","description":null,"fork":false,"url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector","forks_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/forks","keys_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/teams","hooks_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/hooks","issue_events_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/events","assignees_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/tags","blobs_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/languages","stargazers_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/stargazers","contributors_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/contributors","subscribers_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/subscribers","subscription_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/subscription","commits_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/merges","archive_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/downloads","issues_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/deployments","created_at":"2017-10-19T16:56:04Z","updated_at":"2018-07-25T10:17:14Z","pushed_at":"2018-07-25T12:49:25Z","git_url":"git://github.com/alphagov/pay-direct-debit-connector.git","ssh_url":"git@github.com:alphagov/pay-direct-debit-connector.git","clone_url":"https://github.com/alphagov/pay-direct-debit-connector.git","svn_url":"https://github.com/alphagov/pay-direct-debit-connector","homepage":null,"size":25575,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"957c43a4244b2ae34c3ea16c80d94dae11c9bbea","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":107574547,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc1NzQ1NDc=","name":"pay-direct-debit-connector","full_name":"alphagov/pay-direct-debit-connector","owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/pay-direct-debit-connector","description":null,"fork":false,"url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector","forks_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/forks","keys_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/teams","hooks_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/hooks","issue_events_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/events","assignees_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/tags","blobs_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/languages","stargazers_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/stargazers","contributors_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/contributors","subscribers_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/subscribers","subscription_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/subscription","commits_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/merges","archive_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/downloads","issues_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/deployments","created_at":"2017-10-19T16:56:04Z","updated_at":"2018-07-25T10:17:14Z","pushed_at":"2018-07-25T12:49:25Z","git_url":"git://github.com/alphagov/pay-direct-debit-connector.git","ssh_url":"git@github.com:alphagov/pay-direct-debit-connector.git","clone_url":"https://github.com/alphagov/pay-direct-debit-connector.git","svn_url":"https://github.com/alphagov/pay-direct-debit-connector","homepage":null,"size":25575,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/239"},"html":{"href":"https://github.com/alphagov/pay-direct-debit-connector/pull/239"},"issue":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/239"},"comments":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/issues/239/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/239/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/pulls/239/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/pay-direct-debit-connector/statuses/32fcb4de1f929aedf84fc8223dcca1ea2c8c4860"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"danworth","id":31340341,"node_id":"MDQ6VXNlcjMxMzQwMzQx","avatar_url":"https://avatars0.githubusercontent.com/u/31340341?v=4","gravatar_id":"","url":"https://api.github.com/users/danworth","html_url":"https://github.com/danworth","followers_url":"https://api.github.com/users/danworth/followers","following_url":"https://api.github.com/users/danworth/following{/other_user}","gists_url":"https://api.github.com/users/danworth/gists{/gist_id}","starred_url":"https://api.github.com/users/danworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danworth/subscriptions","organizations_url":"https://api.github.com/users/danworth/orgs","repos_url":"https://api.github.com/users/danworth/repos","events_url":"https://api.github.com/users/danworth/events{/privacy}","received_events_url":"https://api.github.com/users/danworth/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"danworth"}}