{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfCake/crud/issues/307","labels_url":"https://api.github.com/repos/FriendsOfCake/crud/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfCake/crud/issues/307/comments","events_url":"https://api.github.com/repos/FriendsOfCake/crud/issues/307/events","html_url":"https://github.com/FriendsOfCake/crud/issues/307","id":96546496,"number":307,"title":"Specifying finder in $paginate does not work.","user":{"login":"AndersTrier","id":384079,"avatar_url":"https://avatars.githubusercontent.com/u/384079?v=3","gravatar_id":"","url":"https://api.github.com/users/AndersTrier","html_url":"https://github.com/AndersTrier","followers_url":"https://api.github.com/users/AndersTrier/followers","following_url":"https://api.github.com/users/AndersTrier/following{/other_user}","gists_url":"https://api.github.com/users/AndersTrier/gists{/gist_id}","starred_url":"https://api.github.com/users/AndersTrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndersTrier/subscriptions","organizations_url":"https://api.github.com/users/AndersTrier/orgs","repos_url":"https://api.github.com/users/AndersTrier/repos","events_url":"https://api.github.com/users/AndersTrier/events{/privacy}","received_events_url":"https://api.github.com/users/AndersTrier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FriendsOfCake/crud/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/FriendsOfCake/crud/milestones/2","html_url":"https://github.com/FriendsOfCake/crud/milestones/4.0.0","labels_url":"https://api.github.com/repos/FriendsOfCake/crud/milestones/2/labels","id":396830,"number":2,"title":"4.0.0","description":"","creator":{"login":"jippi","id":22841,"avatar_url":"https://avatars.githubusercontent.com/u/22841?v=3","gravatar_id":"","url":"https://api.github.com/users/jippi","html_url":"https://github.com/jippi","followers_url":"https://api.github.com/users/jippi/followers","following_url":"https://api.github.com/users/jippi/following{/other_user}","gists_url":"https://api.github.com/users/jippi/gists{/gist_id}","starred_url":"https://api.github.com/users/jippi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jippi/subscriptions","organizations_url":"https://api.github.com/users/jippi/orgs","repos_url":"https://api.github.com/users/jippi/repos","events_url":"https://api.github.com/users/jippi/events{/privacy}","received_events_url":"https://api.github.com/users/jippi/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":44,"state":"open","created_at":"2013-08-07T17:40:04Z","updated_at":"2015-07-22T12:04:26Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-07-22T11:39:11Z","updated_at":"2015-07-31T21:37:06Z","closed_at":null,"body":"According to:\r\nhttp://book.cakephp.org/3.0/en/controllers/components/pagination.html#using-controller-paginate\r\nit should be possible to specify a finder in the $paginate array. But this does currently not result in the intended behavior.\r\n\r\nA workaround I found is to do:\r\n$event->subject()->query->find('someFinder', $options);\r\nin beforePaginate."},"comment":{"url":"https://api.github.com/repos/FriendsOfCake/crud/issues/comments/126817624","html_url":"https://github.com/FriendsOfCake/crud/issues/307#issuecomment-126817624","issue_url":"https://api.github.com/repos/FriendsOfCake/crud/issues/307","id":126817624,"user":{"login":"bravo-kernel","id":230500,"avatar_url":"https://avatars.githubusercontent.com/u/230500?v=3","gravatar_id":"","url":"https://api.github.com/users/bravo-kernel","html_url":"https://github.com/bravo-kernel","followers_url":"https://api.github.com/users/bravo-kernel/followers","following_url":"https://api.github.com/users/bravo-kernel/following{/other_user}","gists_url":"https://api.github.com/users/bravo-kernel/gists{/gist_id}","starred_url":"https://api.github.com/users/bravo-kernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bravo-kernel/subscriptions","organizations_url":"https://api.github.com/users/bravo-kernel/orgs","repos_url":"https://api.github.com/users/bravo-kernel/repos","events_url":"https://api.github.com/users/bravo-kernel/events{/privacy}","received_events_url":"https://api.github.com/users/bravo-kernel/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T21:37:06Z","updated_at":"2015-07-31T21:37:06Z","body":":+1: "}}