{"action":"created","issue":{"url":"https://api.github.com/repos/vuex-orm/vuex-orm/issues/233","repository_url":"https://api.github.com/repos/vuex-orm/vuex-orm","labels_url":"https://api.github.com/repos/vuex-orm/vuex-orm/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/vuex-orm/vuex-orm/issues/233/comments","events_url":"https://api.github.com/repos/vuex-orm/vuex-orm/issues/233/events","html_url":"https://github.com/vuex-orm/vuex-orm/issues/233","id":367910418,"node_id":"MDU6SXNzdWUzNjc5MTA0MTg=","number":233,"title":"orderBy and computed value","user":{"login":"drkwolf","id":1324686,"node_id":"MDQ6VXNlcjEzMjQ2ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/1324686?v=4","gravatar_id":"","url":"https://api.github.com/users/drkwolf","html_url":"https://github.com/drkwolf","followers_url":"https://api.github.com/users/drkwolf/followers","following_url":"https://api.github.com/users/drkwolf/following{/other_user}","gists_url":"https://api.github.com/users/drkwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/drkwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drkwolf/subscriptions","organizations_url":"https://api.github.com/users/drkwolf/orgs","repos_url":"https://api.github.com/users/drkwolf/repos","events_url":"https://api.github.com/users/drkwolf/events{/privacy}","received_events_url":"https://api.github.com/users/drkwolf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-08T18:48:54Z","updated_at":"2018-10-09T00:51:07Z","closed_at":null,"author_association":"NONE","body":"is there a way to use order by with model's computed (getter) value ?"},"comment":{"url":"https://api.github.com/repos/vuex-orm/vuex-orm/issues/comments/428023980","html_url":"https://github.com/vuex-orm/vuex-orm/issues/233#issuecomment-428023980","issue_url":"https://api.github.com/repos/vuex-orm/vuex-orm/issues/233","id":428023980,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODAyMzk4MA==","user":{"login":"kiaking","id":3753672,"node_id":"MDQ6VXNlcjM3NTM2NzI=","avatar_url":"https://avatars1.githubusercontent.com/u/3753672?v=4","gravatar_id":"","url":"https://api.github.com/users/kiaking","html_url":"https://github.com/kiaking","followers_url":"https://api.github.com/users/kiaking/followers","following_url":"https://api.github.com/users/kiaking/following{/other_user}","gists_url":"https://api.github.com/users/kiaking/gists{/gist_id}","starred_url":"https://api.github.com/users/kiaking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiaking/subscriptions","organizations_url":"https://api.github.com/users/kiaking/orgs","repos_url":"https://api.github.com/users/kiaking/repos","events_url":"https://api.github.com/users/kiaking/events{/privacy}","received_events_url":"https://api.github.com/users/kiaking/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T00:51:07Z","updated_at":"2018-10-09T00:51:07Z","author_association":"MEMBER","body":"Hi! Not 100% sure what you mean but you could do this?\r\n\r\n```js\r\nclass User extends Model {\r\n  // ...\r\n  \r\n  static get orderByAge () {\r\n    return this.query().orderBy('age')\r\n  }\r\n}\r\n\r\nUser.orderByAge.get()\r\n```"}}
{"actor":{"display_login":"kiaking"}}