{"action":"created","issue":{"url":"https://api.github.com/repos/primefaces/primefaces/issues/3919","repository_url":"https://api.github.com/repos/primefaces/primefaces","labels_url":"https://api.github.com/repos/primefaces/primefaces/issues/3919/labels{/name}","comments_url":"https://api.github.com/repos/primefaces/primefaces/issues/3919/comments","events_url":"https://api.github.com/repos/primefaces/primefaces/issues/3919/events","html_url":"https://github.com/primefaces/primefaces/issues/3919","id":346592530,"node_id":"MDU6SXNzdWUzNDY1OTI1MzA=","number":3919,"title":"Datatable: sorting doesn't update header checkbox when checkAllToggler used","user":{"login":"martin654","id":22746146,"node_id":"MDQ6VXNlcjIyNzQ2MTQ2","avatar_url":"https://avatars2.githubusercontent.com/u/22746146?v=4","gravatar_id":"","url":"https://api.github.com/users/martin654","html_url":"https://github.com/martin654","followers_url":"https://api.github.com/users/martin654/followers","following_url":"https://api.github.com/users/martin654/following{/other_user}","gists_url":"https://api.github.com/users/martin654/gists{/gist_id}","starred_url":"https://api.github.com/users/martin654/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin654/subscriptions","organizations_url":"https://api.github.com/users/martin654/orgs","repos_url":"https://api.github.com/users/martin654/repos","events_url":"https://api.github.com/users/martin654/events{/privacy}","received_events_url":"https://api.github.com/users/martin654/received_events","type":"User","site_admin":false},"labels":[{"id":198352641,"node_id":"MDU6TGFiZWwxOTgzNTI2NDE=","url":"https://api.github.com/repos/primefaces/primefaces/labels/defect","name":"defect","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-01T13:08:44Z","updated_at":"2018-08-02T09:17:10Z","closed_at":null,"author_association":"NONE","body":"## 1) Environment\r\n- PrimeFaces version: 6.2.6\r\n- Does it work on the newest released PrimeFaces version? Version? 6.2.6 NO\r\n- Does it work on the newest sources in GitHub? (Build by source -> https://github.com/primefaces/primefaces/wiki/Building-From-Source) Not working on 6.3-SNAPSHOT\r\n- Application server + version: \r\n- Affected browsers: all\r\n\r\n\r\nI have a p:datatable component with \r\n<p:column selectionMode=\"multiple\" style=\"width:16px;text-align:center\"/>\r\nSome rows has their's checkbox disabled using expression in disabledSelection.\r\nI use pagination, so there are pages where no row can be selected.\r\nI also use sorting on some columns.\r\n\r\n## 2) Expected behavior\r\nWhen all of the row's checkboxes on current page are disabled on page load, then the **header checkbox** for toggleAll is disabled. When I use sorting and some of the rows are replaced with rows which are NOT disabled, then the toggleAll checkbox should be updated and become ENABLED.\r\n\r\n\r\n## 3) Actual behavior\r\nWhen all of the row's checkboxes on current page are disabled on page load, then the **header checkbox** for toggleAll is disabled. When I use sorting and some of the rows are replaced with rows which are NOT disabled, then the toggleAll checkbox is NOT enabled.\r\n\r\n## 4) Steps to reproduce\r\nWill provide if necessary. Fix is simple.\r\n## 5) Sample XHTML\r\nWill provide if necessary. Fix is simple.\r\n## 6) Sample bean\r\nWill provide if necessary. Fix is simple.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/primefaces/primefaces/issues/comments/409862079","html_url":"https://github.com/primefaces/primefaces/issues/3919#issuecomment-409862079","issue_url":"https://api.github.com/repos/primefaces/primefaces/issues/3919","id":409862079,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTg2MjA3OQ==","user":{"login":"martin654","id":22746146,"node_id":"MDQ6VXNlcjIyNzQ2MTQ2","avatar_url":"https://avatars2.githubusercontent.com/u/22746146?v=4","gravatar_id":"","url":"https://api.github.com/users/martin654","html_url":"https://github.com/martin654","followers_url":"https://api.github.com/users/martin654/followers","following_url":"https://api.github.com/users/martin654/following{/other_user}","gists_url":"https://api.github.com/users/martin654/gists{/gist_id}","starred_url":"https://api.github.com/users/martin654/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin654/subscriptions","organizations_url":"https://api.github.com/users/martin654/orgs","repos_url":"https://api.github.com/users/martin654/repos","events_url":"https://api.github.com/users/martin654/events{/privacy}","received_events_url":"https://api.github.com/users/martin654/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T09:17:10Z","updated_at":"2018-08-02T09:17:10Z","author_association":"NONE","body":"@tandraschko  Thomas, could this be merged into next elite version? Thank you"}}
{"actor":{"display_login":"martin654"}}