{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2727","labels_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2727/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2727/comments","events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2727/events","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/2727","id":58045859,"number":2727,"title":"feat(form): add sortable option for multiple choice widget","user":{"login":"amine26tz","id":1479807,"avatar_url":"https://avatars.githubusercontent.com/u/1479807?v=3","gravatar_id":"","url":"https://api.github.com/users/amine26tz","html_url":"https://github.com/amine26tz","followers_url":"https://api.github.com/users/amine26tz/followers","following_url":"https://api.github.com/users/amine26tz/following{/other_user}","gists_url":"https://api.github.com/users/amine26tz/gists{/gist_id}","starred_url":"https://api.github.com/users/amine26tz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amine26tz/subscriptions","organizations_url":"https://api.github.com/users/amine26tz/orgs","repos_url":"https://api.github.com/users/amine26tz/repos","events_url":"https://api.github.com/users/amine26tz/events{/privacy}","received_events_url":"https://api.github.com/users/amine26tz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-18T09:41:28Z","updated_at":"2015-02-19T10:15:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/2727","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/2727","diff_url":"https://github.com/sonata-project/SonataAdminBundle/pull/2727.diff","patch_url":"https://github.com/sonata-project/SonataAdminBundle/pull/2727.patch"},"body":"This pr add a \"sortable\" option for multiple choice.\r\nExemple:\r\n\r\n```\r\n$builder->add('availability', 'choice', array(\r\n    'choices'   => array(\r\n        'morning'   => 'Morning',\r\n        'afternoon' => 'Afternoon',\r\n        'evening'   => 'Evening',\r\n    ),\r\n    'multiple'  => true,\r\n    'sortable'  => true\r\n));\r\n```\r\n\r\nthis initialise the widget with select2 sortable "},"comment":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/comments/75027557","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/2727#issuecomment-75027557","issue_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2727","id":75027557,"user":{"login":"amine26tz","id":1479807,"avatar_url":"https://avatars.githubusercontent.com/u/1479807?v=3","gravatar_id":"","url":"https://api.github.com/users/amine26tz","html_url":"https://github.com/amine26tz","followers_url":"https://api.github.com/users/amine26tz/followers","following_url":"https://api.github.com/users/amine26tz/following{/other_user}","gists_url":"https://api.github.com/users/amine26tz/gists{/gist_id}","starred_url":"https://api.github.com/users/amine26tz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amine26tz/subscriptions","organizations_url":"https://api.github.com/users/amine26tz/orgs","repos_url":"https://api.github.com/users/amine26tz/repos","events_url":"https://api.github.com/users/amine26tz/events{/privacy}","received_events_url":"https://api.github.com/users/amine26tz/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T10:15:53Z","updated_at":"2015-02-19T10:15:53Z","body":"done @rande "}}