{"action":"created","issue":{"url":"https://api.github.com/repos/hrach/orm-demo/issues/3","labels_url":"https://api.github.com/repos/hrach/orm-demo/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/hrach/orm-demo/issues/3/comments","events_url":"https://api.github.com/repos/hrach/orm-demo/issues/3/events","html_url":"https://github.com/hrach/orm-demo/issues/3","id":79375481,"number":3,"title":"$entity->findBy([\"type\" => 2])->order(...)","user":{"login":"JanSuchanek","id":310020,"avatar_url":"https://avatars.githubusercontent.com/u/310020?v=3","gravatar_id":"","url":"https://api.github.com/users/JanSuchanek","html_url":"https://github.com/JanSuchanek","followers_url":"https://api.github.com/users/JanSuchanek/followers","following_url":"https://api.github.com/users/JanSuchanek/following{/other_user}","gists_url":"https://api.github.com/users/JanSuchanek/gists{/gist_id}","starred_url":"https://api.github.com/users/JanSuchanek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanSuchanek/subscriptions","organizations_url":"https://api.github.com/users/JanSuchanek/orgs","repos_url":"https://api.github.com/users/JanSuchanek/repos","events_url":"https://api.github.com/users/JanSuchanek/events{/privacy}","received_events_url":"https://api.github.com/users/JanSuchanek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-22T09:28:34Z","updated_at":"2015-05-29T15:45:54Z","closed_at":null,"body":"Hi, is possible to find chields entitie for example like $entity->findBy([\"type\" => 2])->order(...) and sort?\r\nOr it's bad practice?"},"comment":{"url":"https://api.github.com/repos/hrach/orm-demo/issues/comments/106852500","html_url":"https://github.com/hrach/orm-demo/issues/3#issuecomment-106852500","issue_url":"https://api.github.com/repos/hrach/orm-demo/issues/3","id":106852500,"user":{"login":"JanSuchanek","id":310020,"avatar_url":"https://avatars.githubusercontent.com/u/310020?v=3","gravatar_id":"","url":"https://api.github.com/users/JanSuchanek","html_url":"https://github.com/JanSuchanek","followers_url":"https://api.github.com/users/JanSuchanek/followers","following_url":"https://api.github.com/users/JanSuchanek/following{/other_user}","gists_url":"https://api.github.com/users/JanSuchanek/gists{/gist_id}","starred_url":"https://api.github.com/users/JanSuchanek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanSuchanek/subscriptions","organizations_url":"https://api.github.com/users/JanSuchanek/orgs","repos_url":"https://api.github.com/users/JanSuchanek/repos","events_url":"https://api.github.com/users/JanSuchanek/events{/privacy}","received_events_url":"https://api.github.com/users/JanSuchanek/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T15:45:54Z","updated_at":"2015-05-29T15:45:54Z","body":"a v gettru tedy nějak takto ? $author->books->get()->where(...)->orderBy( ...) ?"}}