{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/nova-issues/issues/326","repository_url":"https://api.github.com/repos/laravel/nova-issues","labels_url":"https://api.github.com/repos/laravel/nova-issues/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/laravel/nova-issues/issues/326/comments","events_url":"https://api.github.com/repos/laravel/nova-issues/issues/326/events","html_url":"https://github.com/laravel/nova-issues/issues/326","id":355277721,"node_id":"MDU6SXNzdWUzNTUyNzc3MjE=","number":326,"title":"Action result is ignored when selecting all matching resources","user":{"login":"wfeller","id":21337627,"node_id":"MDQ6VXNlcjIxMzM3NjI3","avatar_url":"https://avatars1.githubusercontent.com/u/21337627?v=4","gravatar_id":"","url":"https://api.github.com/users/wfeller","html_url":"https://github.com/wfeller","followers_url":"https://api.github.com/users/wfeller/followers","following_url":"https://api.github.com/users/wfeller/following{/other_user}","gists_url":"https://api.github.com/users/wfeller/gists{/gist_id}","starred_url":"https://api.github.com/users/wfeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wfeller/subscriptions","organizations_url":"https://api.github.com/users/wfeller/orgs","repos_url":"https://api.github.com/users/wfeller/repos","events_url":"https://api.github.com/users/wfeller/events{/privacy}","received_events_url":"https://api.github.com/users/wfeller/received_events","type":"User","site_admin":false},"labels":[{"id":1033247763,"node_id":"MDU6TGFiZWwxMDMzMjQ3NzYz","url":"https://api.github.com/repos/laravel/nova-issues/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-29T18:20:21Z","updated_at":"2018-11-28T15:43:17Z","closed_at":null,"author_association":"NONE","body":"I'm trying to make a download action.\r\n\r\nIt works when when I manually select a few items or click select all.\r\n\r\nWhen I \"select all matching\", the static::download() returned gets ignored and I get the default message saying \"The action ran successfully!\".\r\n\r\nIt seems to come from the chunks() method in ActionRequest :\r\n![image](https://user-images.githubusercontent.com/21337627/44806601-b054f700-abc7-11e8-8989-88cb0887035f.png)\r\n\r\nThere's a similar issue when chunking actions, only the last result (download) gets returned (so when you have multiple downloads, you only get the last one instead of getting them all one by one).\r\n\r\n![image](https://user-images.githubusercontent.com/21337627/44807063-e34bba80-abc8-11e8-9e54-818858379007.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/laravel/nova-issues/issues/comments/442493439","html_url":"https://github.com/laravel/nova-issues/issues/326#issuecomment-442493439","issue_url":"https://api.github.com/repos/laravel/nova-issues/issues/326","id":442493439,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjQ5MzQzOQ==","user":{"login":"dillingham","id":29180903,"node_id":"MDQ6VXNlcjI5MTgwOTAz","avatar_url":"https://avatars3.githubusercontent.com/u/29180903?v=4","gravatar_id":"","url":"https://api.github.com/users/dillingham","html_url":"https://github.com/dillingham","followers_url":"https://api.github.com/users/dillingham/followers","following_url":"https://api.github.com/users/dillingham/following{/other_user}","gists_url":"https://api.github.com/users/dillingham/gists{/gist_id}","starred_url":"https://api.github.com/users/dillingham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dillingham/subscriptions","organizations_url":"https://api.github.com/users/dillingham/orgs","repos_url":"https://api.github.com/users/dillingham/repos","events_url":"https://api.github.com/users/dillingham/events{/privacy}","received_events_url":"https://api.github.com/users/dillingham/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T15:43:17Z","updated_at":"2018-11-28T15:43:17Z","author_association":"CONTRIBUTOR","body":"+1"}}
{"actor":{"display_login":"dillingham"}}