{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/issues/22","labels_url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/issues/22/comments","events_url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/issues/22/events","html_url":"https://github.com/sonata-project/SonataAdminSearchBundle/pull/22","id":120566618,"number":22,"title":"Proposal that fixes #13","user":{"login":"Kertudex","id":3914881,"avatar_url":"https://avatars.githubusercontent.com/u/3914881?v=3","gravatar_id":"","url":"https://api.github.com/users/Kertudex","html_url":"https://github.com/Kertudex","followers_url":"https://api.github.com/users/Kertudex/followers","following_url":"https://api.github.com/users/Kertudex/following{/other_user}","gists_url":"https://api.github.com/users/Kertudex/gists{/gist_id}","starred_url":"https://api.github.com/users/Kertudex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kertudex/subscriptions","organizations_url":"https://api.github.com/users/Kertudex/orgs","repos_url":"https://api.github.com/users/Kertudex/repos","events_url":"https://api.github.com/users/Kertudex/events{/privacy}","received_events_url":"https://api.github.com/users/Kertudex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-05T15:42:51Z","updated_at":"2015-12-05T19:05:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/pulls/22","html_url":"https://github.com/sonata-project/SonataAdminSearchBundle/pull/22","diff_url":"https://github.com/sonata-project/SonataAdminSearchBundle/pull/22.diff","patch_url":"https://github.com/sonata-project/SonataAdminSearchBundle/pull/22.patch"},"body":"Hello, \r\n\r\nI tried to fix #13 with this PR. There is no possibility to know in advance where the ElasticaProxy Request is needed. I decided to add a parameter in the finder service definition to decide where to enable the finder. For the other actions (batchAction, exportAction), the default ProxyQuery is used.\r\n\r\n\r\nI tested using behat and the features from the sandbox, it worked.\r\n\r\nI'm quite new to github so sorry if some things are missing.\r\n"},"comment":{"url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/issues/comments/162237653","html_url":"https://github.com/sonata-project/SonataAdminSearchBundle/pull/22#issuecomment-162237653","issue_url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/issues/22","id":162237653,"user":{"login":"Kertudex","id":3914881,"avatar_url":"https://avatars.githubusercontent.com/u/3914881?v=3","gravatar_id":"","url":"https://api.github.com/users/Kertudex","html_url":"https://github.com/Kertudex","followers_url":"https://api.github.com/users/Kertudex/followers","following_url":"https://api.github.com/users/Kertudex/following{/other_user}","gists_url":"https://api.github.com/users/Kertudex/gists{/gist_id}","starred_url":"https://api.github.com/users/Kertudex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kertudex/subscriptions","organizations_url":"https://api.github.com/users/Kertudex/orgs","repos_url":"https://api.github.com/users/Kertudex/repos","events_url":"https://api.github.com/users/Kertudex/events{/privacy}","received_events_url":"https://api.github.com/users/Kertudex/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T19:05:48Z","updated_at":"2015-12-05T19:05:48Z","body":"ES is used almost for the list action, that's why the default parameter of the \"actions\" config item is array(\"list\").\r\nI don't think it will break the compatibility. The only case would be to have its own search action without overwriting the listAction method in the CRUD controller (very strange). Anyway, currently, the batch action and the exports is not working at all. Thank you for the git lesson. I'll fix the commit and the PR quickly. "}}