{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3513","labels_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3513/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3513/comments","events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3513/events","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3513","id":124333153,"number":3513,"title":"Add methods DatagridMapper::getDatagrid and ListMapper::getList","user":{"login":"hason","id":288535,"avatar_url":"https://avatars.githubusercontent.com/u/288535?v=3","gravatar_id":"","url":"https://api.github.com/users/hason","html_url":"https://github.com/hason","followers_url":"https://api.github.com/users/hason/followers","following_url":"https://api.github.com/users/hason/following{/other_user}","gists_url":"https://api.github.com/users/hason/gists{/gist_id}","starred_url":"https://api.github.com/users/hason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hason/subscriptions","organizations_url":"https://api.github.com/users/hason/orgs","repos_url":"https://api.github.com/users/hason/repos","events_url":"https://api.github.com/users/hason/events{/privacy}","received_events_url":"https://api.github.com/users/hason/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-30T10:55:41Z","updated_at":"2015-12-30T17:08:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3513","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3513","diff_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3513.diff","patch_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3513.patch"},"body":"I want to reorder columns in admin extension, but a mapper doesn't have a method to obtain columns from list.\r\n\r\n```php\r\npublic function configureListFields(ListMapper $listMapper)\r\n    {\r\n        $list = $listMapper->getList();\r\n        $keys = array_keys($list->getElements());\r\n        ...\r\n        $listMapper->reorder($keys);\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/comments/168035597","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3513#issuecomment-168035597","issue_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3513","id":168035597,"user":{"login":"OskarStark","id":995707,"avatar_url":"https://avatars.githubusercontent.com/u/995707?v=3","gravatar_id":"","url":"https://api.github.com/users/OskarStark","html_url":"https://github.com/OskarStark","followers_url":"https://api.github.com/users/OskarStark/followers","following_url":"https://api.github.com/users/OskarStark/following{/other_user}","gists_url":"https://api.github.com/users/OskarStark/gists{/gist_id}","starred_url":"https://api.github.com/users/OskarStark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OskarStark/subscriptions","organizations_url":"https://api.github.com/users/OskarStark/orgs","repos_url":"https://api.github.com/users/OskarStark/repos","events_url":"https://api.github.com/users/OskarStark/events{/privacy}","received_events_url":"https://api.github.com/users/OskarStark/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T17:08:06Z","updated_at":"2015-12-30T17:08:06Z","body":":+1:  could you add a test case for this and add a little info to the docs, maybe it could help other users?"}}