{"action":"opened","issue":{"url":"https://api.github.com/repos/dunglas/DunglasApiBundle/issues/363","labels_url":"https://api.github.com/repos/dunglas/DunglasApiBundle/issues/363/labels{/name}","comments_url":"https://api.github.com/repos/dunglas/DunglasApiBundle/issues/363/comments","events_url":"https://api.github.com/repos/dunglas/DunglasApiBundle/issues/363/events","html_url":"https://github.com/dunglas/DunglasApiBundle/issues/363","id":121533661,"number":363,"title":"OrderFilter is excluding Resources without relations","user":{"login":"salahm","id":1071005,"avatar_url":"https://avatars.githubusercontent.com/u/1071005?v=3","gravatar_id":"","url":"https://api.github.com/users/salahm","html_url":"https://github.com/salahm","followers_url":"https://api.github.com/users/salahm/followers","following_url":"https://api.github.com/users/salahm/following{/other_user}","gists_url":"https://api.github.com/users/salahm/gists{/gist_id}","starred_url":"https://api.github.com/users/salahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salahm/subscriptions","organizations_url":"https://api.github.com/users/salahm/orgs","repos_url":"https://api.github.com/users/salahm/repos","events_url":"https://api.github.com/users/salahm/events{/privacy}","received_events_url":"https://api.github.com/users/salahm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-10T17:07:02Z","updated_at":"2015-12-10T17:07:02Z","closed_at":null,"body":"Hi,\r\n\r\nThere is an issue with the OrderFilter and relations\r\n\r\nUse Case : \r\ni have an Entity `Category` which can have a `parent`. the relation is not mandatory.\r\nwhen i try to sort the list with, lets say `parent.title`. i'm loosing all my categories which don't have a parent.\r\n\r\n\r\nRegarding this line : https://github.com/dunglas/DunglasApiBundle/blob/1.x/Doctrine/Orm/Filter/OrderFilter.php#L82\r\n\r\nwe're using a `join` instead of a `leftJoin`. is there any reason for that choice ? \r\n\r\nping @vincentchalamon \r\n"}}