{"action":"closed","number":251,"pull_request":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/251","id":28215861,"html_url":"https://github.com/apache/couchdb-fauxton/pull/251","diff_url":"https://github.com/apache/couchdb-fauxton/pull/251.diff","patch_url":"https://github.com/apache/couchdb-fauxton/pull/251.patch","issue_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/251","number":251,"state":"closed","locked":false,"title":"header-control-bar: fix select-all-state","user":{"login":"robertkowalski","id":298166,"avatar_url":"https://avatars.githubusercontent.com/u/298166?v=3","gravatar_id":"","url":"https://api.github.com/users/robertkowalski","html_url":"https://github.com/robertkowalski","followers_url":"https://api.github.com/users/robertkowalski/followers","following_url":"https://api.github.com/users/robertkowalski/following{/other_user}","gists_url":"https://api.github.com/users/robertkowalski/gists{/gist_id}","starred_url":"https://api.github.com/users/robertkowalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertkowalski/subscriptions","organizations_url":"https://api.github.com/users/robertkowalski/orgs","repos_url":"https://api.github.com/users/robertkowalski/repos","events_url":"https://api.github.com/users/robertkowalski/events{/privacy}","received_events_url":"https://api.github.com/users/robertkowalski/received_events","type":"User","site_admin":false},"body":"When I select all documents\r\nAnd there are less documents than I have set to display per page\r\nThen I want the select-all-button to be selected/disabled\r\n\r\nAs I checked for the setting of the page compared to the selected\r\ndocuments it can happen that if we have not enough documents to\r\nshow on the page that the status of the select-all was wrong.\r\n\r\nAdded test to avoid regressions in the future and to prove my fix","created_at":"2015-01-28T18:12:16Z","updated_at":"2015-01-29T12:06:08Z","closed_at":"2015-01-29T12:06:08Z","merged_at":null,"merge_commit_sha":"ea49425c66270950be0f2670ea59a2816c0e921f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/251/commits","review_comments_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/251/comments","review_comment_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/comments/{number}","comments_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/251/comments","statuses_url":"https://api.github.com/repos/apache/couchdb-fauxton/statuses/3889357cb9e88bcf428285cd843bbb5bafb20da1","head":{"label":"robertkowalski:fix-header-state","ref":"fix-header-state","sha":"3889357cb9e88bcf428285cd843bbb5bafb20da1","user":{"login":"robertkowalski","id":298166,"avatar_url":"https://avatars.githubusercontent.com/u/298166?v=3","gravatar_id":"","url":"https://api.github.com/users/robertkowalski","html_url":"https://github.com/robertkowalski","followers_url":"https://api.github.com/users/robertkowalski/followers","following_url":"https://api.github.com/users/robertkowalski/following{/other_user}","gists_url":"https://api.github.com/users/robertkowalski/gists{/gist_id}","starred_url":"https://api.github.com/users/robertkowalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertkowalski/subscriptions","organizations_url":"https://api.github.com/users/robertkowalski/orgs","repos_url":"https://api.github.com/users/robertkowalski/repos","events_url":"https://api.github.com/users/robertkowalski/events{/privacy}","received_events_url":"https://api.github.com/users/robertkowalski/received_events","type":"User","site_admin":false},"repo":{"id":21752686,"name":"couchdb-fauxton","full_name":"robertkowalski/couchdb-fauxton","owner":{"login":"robertkowalski","id":298166,"avatar_url":"https://avatars.githubusercontent.com/u/298166?v=3","gravatar_id":"","url":"https://api.github.com/users/robertkowalski","html_url":"https://github.com/robertkowalski","followers_url":"https://api.github.com/users/robertkowalski/followers","following_url":"https://api.github.com/users/robertkowalski/following{/other_user}","gists_url":"https://api.github.com/users/robertkowalski/gists{/gist_id}","starred_url":"https://api.github.com/users/robertkowalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertkowalski/subscriptions","organizations_url":"https://api.github.com/users/robertkowalski/orgs","repos_url":"https://api.github.com/users/robertkowalski/repos","events_url":"https://api.github.com/users/robertkowalski/events{/privacy}","received_events_url":"https://api.github.com/users/robertkowalski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robertkowalski/couchdb-fauxton","description":"Mirror of Apache CouchDB","fork":true,"url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton","forks_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/forks","keys_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/teams","hooks_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/hooks","issue_events_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/issues/events{/number}","events_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/events","assignees_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/assignees{/user}","branches_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/branches{/branch}","tags_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/tags","blobs_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/git/refs{/sha}","trees_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/statuses/{sha}","languages_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/languages","stargazers_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/stargazers","contributors_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/contributors","subscribers_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/subscribers","subscription_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/subscription","commits_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/commits{/sha}","git_commits_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/git/commits{/sha}","comments_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/comments{/number}","issue_comment_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/issues/comments/{number}","contents_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/contents/{+path}","compare_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/merges","archive_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/downloads","issues_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/issues{/number}","pulls_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/pulls{/number}","milestones_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/milestones{/number}","notifications_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/labels{/name}","releases_url":"https://api.github.com/repos/robertkowalski/couchdb-fauxton/releases{/id}","created_at":"2014-07-11T21:57:44Z","updated_at":"2015-01-08T14:27:52Z","pushed_at":"2015-01-28T18:12:05Z","git_url":"git://github.com/robertkowalski/couchdb-fauxton.git","ssh_url":"git@github.com:robertkowalski/couchdb-fauxton.git","clone_url":"https://github.com/robertkowalski/couchdb-fauxton.git","svn_url":"https://github.com/robertkowalski/couchdb-fauxton","homepage":null,"size":41320,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"f5f7f4b93a2ac9f63b21d9a0a5359285e6f2da38","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":15993612,"name":"couchdb-fauxton","full_name":"apache/couchdb-fauxton","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/couchdb-fauxton","description":"Mirror of Apache CouchDB","fork":false,"url":"https://api.github.com/repos/apache/couchdb-fauxton","forks_url":"https://api.github.com/repos/apache/couchdb-fauxton/forks","keys_url":"https://api.github.com/repos/apache/couchdb-fauxton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/couchdb-fauxton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/couchdb-fauxton/teams","hooks_url":"https://api.github.com/repos/apache/couchdb-fauxton/hooks","issue_events_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/events{/number}","events_url":"https://api.github.com/repos/apache/couchdb-fauxton/events","assignees_url":"https://api.github.com/repos/apache/couchdb-fauxton/assignees{/user}","branches_url":"https://api.github.com/repos/apache/couchdb-fauxton/branches{/branch}","tags_url":"https://api.github.com/repos/apache/couchdb-fauxton/tags","blobs_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/couchdb-fauxton/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/couchdb-fauxton/languages","stargazers_url":"https://api.github.com/repos/apache/couchdb-fauxton/stargazers","contributors_url":"https://api.github.com/repos/apache/couchdb-fauxton/contributors","subscribers_url":"https://api.github.com/repos/apache/couchdb-fauxton/subscribers","subscription_url":"https://api.github.com/repos/apache/couchdb-fauxton/subscription","commits_url":"https://api.github.com/repos/apache/couchdb-fauxton/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/couchdb-fauxton/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/couchdb-fauxton/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/comments/{number}","contents_url":"https://api.github.com/repos/apache/couchdb-fauxton/contents/{+path}","compare_url":"https://api.github.com/repos/apache/couchdb-fauxton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/couchdb-fauxton/merges","archive_url":"https://api.github.com/repos/apache/couchdb-fauxton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/couchdb-fauxton/downloads","issues_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues{/number}","pulls_url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/couchdb-fauxton/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/couchdb-fauxton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/couchdb-fauxton/labels{/name}","releases_url":"https://api.github.com/repos/apache/couchdb-fauxton/releases{/id}","created_at":"2014-01-17T08:00:08Z","updated_at":"2015-01-29T12:05:58Z","pushed_at":"2015-01-29T12:05:58Z","git_url":"git://github.com/apache/couchdb-fauxton.git","ssh_url":"git@github.com:apache/couchdb-fauxton.git","clone_url":"https://github.com/apache/couchdb-fauxton.git","svn_url":"https://github.com/apache/couchdb-fauxton","homepage":null,"size":7548,"stargazers_count":32,"watchers_count":32,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":38,"mirror_url":"git://git.apache.org/couchdb-fauxton.git","open_issues_count":6,"forks":38,"open_issues":6,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/251"},"html":{"href":"https://github.com/apache/couchdb-fauxton/pull/251"},"issue":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/issues/251"},"comments":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/issues/251/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/251/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/251/commits"},"statuses":{"href":"https://api.github.com/repos/apache/couchdb-fauxton/statuses/3889357cb9e88bcf428285cd843bbb5bafb20da1"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":39,"deletions":9,"changed_files":3}}