{"action":"created","issue":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/708","labels_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/708/labels{/name}","comments_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/708/comments","events_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/708/events","html_url":"https://github.com/wenzhixin/bootstrap-table/pull/708","id":67113303,"number":708,"title":"Row state field value fix","user":{"login":"macias3","id":4989376,"avatar_url":"https://avatars.githubusercontent.com/u/4989376?v=3","gravatar_id":"","url":"https://api.github.com/users/macias3","html_url":"https://github.com/macias3","followers_url":"https://api.github.com/users/macias3/followers","following_url":"https://api.github.com/users/macias3/following{/other_user}","gists_url":"https://api.github.com/users/macias3/gists{/gist_id}","starred_url":"https://api.github.com/users/macias3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macias3/subscriptions","organizations_url":"https://api.github.com/users/macias3/orgs","repos_url":"https://api.github.com/users/macias3/repos","events_url":"https://api.github.com/users/macias3/events{/privacy}","received_events_url":"https://api.github.com/users/macias3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-08T12:00:04Z","updated_at":"2015-04-08T12:21:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/pulls/708","html_url":"https://github.com/wenzhixin/bootstrap-table/pull/708","diff_url":"https://github.com/wenzhixin/bootstrap-table/pull/708.diff","patch_url":"https://github.com/wenzhixin/bootstrap-table/pull/708.patch"},"body":"Using \"select all items\" checkbox in the table header selects only enabled rows, but doesn't set proper state field value of disabled rows.\r\n\r\nThis little fix sets proper rows state field value depending on \"checked\" property of inputs.\r\n"},"comment":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/comments/90896292","html_url":"https://github.com/wenzhixin/bootstrap-table/pull/708#issuecomment-90896292","issue_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/708","id":90896292,"user":{"login":"macias3","id":4989376,"avatar_url":"https://avatars.githubusercontent.com/u/4989376?v=3","gravatar_id":"","url":"https://api.github.com/users/macias3","html_url":"https://github.com/macias3","followers_url":"https://api.github.com/users/macias3/followers","following_url":"https://api.github.com/users/macias3/following{/other_user}","gists_url":"https://api.github.com/users/macias3/gists{/gist_id}","starred_url":"https://api.github.com/users/macias3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macias3/subscriptions","organizations_url":"https://api.github.com/users/macias3/orgs","repos_url":"https://api.github.com/users/macias3/repos","events_url":"https://api.github.com/users/macias3/events{/privacy}","received_events_url":"https://api.github.com/users/macias3/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T12:21:05Z","updated_at":"2015-04-08T12:21:05Z","body":"Of course. Look at: http://jsfiddle.net/avegsy7v/3/\r\n\r\nSteps to reproduce the bug:\r\n1. Select all items with the table header checkbox.\r\n2. Click \"get selected\" button.\r\n3. Compare names in the alert window with selected row names.\r\n\r\nI think that two first rows should not be in the result set of \"getSelections\" method.\r\n\r\nSelecting enabled rows one by one works as expected.\r\n"}}