{"action":"created","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-export/issues/86","repository_url":"https://api.github.com/repos/kartik-v/yii2-export","labels_url":"https://api.github.com/repos/kartik-v/yii2-export/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-export/issues/86/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-export/issues/86/events","html_url":"https://github.com/kartik-v/yii2-export/issues/86","id":107141935,"number":86,"title":"empty export result when only first column selected","user":{"login":"makroxyz","id":2069949,"avatar_url":"https://avatars.githubusercontent.com/u/2069949?v=3","gravatar_id":"","url":"https://api.github.com/users/makroxyz","html_url":"https://github.com/makroxyz","followers_url":"https://api.github.com/users/makroxyz/followers","following_url":"https://api.github.com/users/makroxyz/following{/other_user}","gists_url":"https://api.github.com/users/makroxyz/gists{/gist_id}","starred_url":"https://api.github.com/users/makroxyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makroxyz/subscriptions","organizations_url":"https://api.github.com/users/makroxyz/orgs","repos_url":"https://api.github.com/users/makroxyz/repos","events_url":"https://api.github.com/users/makroxyz/events{/privacy}","received_events_url":"https://api.github.com/users/makroxyz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-18T06:34:43Z","updated_at":"2016-02-08T23:51:54Z","closed_at":null,"body":"As in subject, selecting only first column gives empty export result"},"comment":{"url":"https://api.github.com/repos/kartik-v/yii2-export/issues/comments/181629890","html_url":"https://github.com/kartik-v/yii2-export/issues/86#issuecomment-181629890","issue_url":"https://api.github.com/repos/kartik-v/yii2-export/issues/86","id":181629890,"user":{"login":"douglasgsouza","id":10836194,"avatar_url":"https://avatars.githubusercontent.com/u/10836194?v=3","gravatar_id":"","url":"https://api.github.com/users/douglasgsouza","html_url":"https://github.com/douglasgsouza","followers_url":"https://api.github.com/users/douglasgsouza/followers","following_url":"https://api.github.com/users/douglasgsouza/following{/other_user}","gists_url":"https://api.github.com/users/douglasgsouza/gists{/gist_id}","starred_url":"https://api.github.com/users/douglasgsouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglasgsouza/subscriptions","organizations_url":"https://api.github.com/users/douglasgsouza/orgs","repos_url":"https://api.github.com/users/douglasgsouza/repos","events_url":"https://api.github.com/users/douglasgsouza/events{/privacy}","received_events_url":"https://api.github.com/users/douglasgsouza/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T23:51:54Z","updated_at":"2016-02-08T23:51:54Z","body":"This error is caused in the initSelectedColumns.\r\nWhen selected only the first column, the 'export_columns' parameter is string '0', and its equal empty.\r\n\r\n`if (empty($_POST[self::PARAM_EXPORT_COLS])) { //return true`"}}