{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/issues/6","labels_url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/issues/6/comments","events_url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/issues/6/events","html_url":"https://github.com/sonata-project/SonataAdminSearchBundle/pull/6","id":68886824,"number":6,"title":"Implementation of the ChoiceFilter to create Elastica Filter","user":{"login":"chervaliery","id":10849551,"avatar_url":"https://avatars.githubusercontent.com/u/10849551?v=3","gravatar_id":"","url":"https://api.github.com/users/chervaliery","html_url":"https://github.com/chervaliery","followers_url":"https://api.github.com/users/chervaliery/followers","following_url":"https://api.github.com/users/chervaliery/following{/other_user}","gists_url":"https://api.github.com/users/chervaliery/gists{/gist_id}","starred_url":"https://api.github.com/users/chervaliery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chervaliery/subscriptions","organizations_url":"https://api.github.com/users/chervaliery/orgs","repos_url":"https://api.github.com/users/chervaliery/repos","events_url":"https://api.github.com/users/chervaliery/events{/privacy}","received_events_url":"https://api.github.com/users/chervaliery/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-16T09:45:25Z","updated_at":"2015-04-29T09:57:08Z","closed_at":"2015-04-29T09:51:21Z","pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/pulls/6","html_url":"https://github.com/sonata-project/SonataAdminSearchBundle/pull/6","diff_url":"https://github.com/sonata-project/SonataAdminSearchBundle/pull/6.diff","patch_url":"https://github.com/sonata-project/SonataAdminSearchBundle/pull/6.patch"},"body":"For one of my project in addition to query, I need to filter my results. I have a filed 'type' in my mongodb documents and I need to search in my db and filter on one or several types.\r\n\r\nI did not find out how to do it. But the ChoiceFilter was not implemented yet.\r\nOn the base of the StringFilter, I adapt it to make query with filters.\r\n\r\nFurthermore, in the ElasticaDatagridBuilder, the type field of the filter was not used and you cannot choose the filter to use. I adapt it from the Sonata\\DoctrineORMAdminBundle DatagridBuilder in order to use it."},"comment":{"url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/issues/comments/97375326","html_url":"https://github.com/sonata-project/SonataAdminSearchBundle/pull/6#issuecomment-97375326","issue_url":"https://api.github.com/repos/sonata-project/SonataAdminSearchBundle/issues/6","id":97375326,"user":{"login":"chervaliery","id":10849551,"avatar_url":"https://avatars.githubusercontent.com/u/10849551?v=3","gravatar_id":"","url":"https://api.github.com/users/chervaliery","html_url":"https://github.com/chervaliery","followers_url":"https://api.github.com/users/chervaliery/followers","following_url":"https://api.github.com/users/chervaliery/following{/other_user}","gists_url":"https://api.github.com/users/chervaliery/gists{/gist_id}","starred_url":"https://api.github.com/users/chervaliery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chervaliery/subscriptions","organizations_url":"https://api.github.com/users/chervaliery/orgs","repos_url":"https://api.github.com/users/chervaliery/repos","events_url":"https://api.github.com/users/chervaliery/events{/privacy}","received_events_url":"https://api.github.com/users/chervaliery/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T09:57:08Z","updated_at":"2015-04-29T09:57:08Z","body":" I tried to undo my commit to fix the format and commit the proper one.\r\nBut I don't know why it closed m yPR"}}