{"action":"closed","issue":{"url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/644","repository_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler","labels_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/644/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/644/comments","events_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/644/events","html_url":"https://github.com/strongloop/loopback-datasource-juggler/issues/644","id":90587016,"number":644,"title":"HABTM relationship {order: 'value ASC'} not working at all. ","user":{"login":"vespertilian","id":441418,"avatar_url":"https://avatars.githubusercontent.com/u/441418?v=3","gravatar_id":"","url":"https://api.github.com/users/vespertilian","html_url":"https://github.com/vespertilian","followers_url":"https://api.github.com/users/vespertilian/followers","following_url":"https://api.github.com/users/vespertilian/following{/other_user}","gists_url":"https://api.github.com/users/vespertilian/gists{/gist_id}","starred_url":"https://api.github.com/users/vespertilian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vespertilian/subscriptions","organizations_url":"https://api.github.com/users/vespertilian/orgs","repos_url":"https://api.github.com/users/vespertilian/repos","events_url":"https://api.github.com/users/vespertilian/events{/privacy}","received_events_url":"https://api.github.com/users/vespertilian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/labels/triage","name":"triage","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"loay","id":1986928,"avatar_url":"https://avatars.githubusercontent.com/u/1986928?v=3","gravatar_id":"","url":"https://api.github.com/users/loay","html_url":"https://github.com/loay","followers_url":"https://api.github.com/users/loay/followers","following_url":"https://api.github.com/users/loay/following{/other_user}","gists_url":"https://api.github.com/users/loay/gists{/gist_id}","starred_url":"https://api.github.com/users/loay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loay/subscriptions","organizations_url":"https://api.github.com/users/loay/orgs","repos_url":"https://api.github.com/users/loay/repos","events_url":"https://api.github.com/users/loay/events{/privacy}","received_events_url":"https://api.github.com/users/loay/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-06-24T06:56:35Z","updated_at":"2016-05-05T20:24:56Z","closed_at":"2016-05-05T20:24:56Z","body":"500 Server error with Postgres and wrong order with memory DB. \r\n\r\nSample app with tests here\r\n\r\nhttps://github.com/vespertilian/loopback_filter_test\r\n\r\nConnect db then NPM test. \r\n\r\nI think this directly relates to the count issue I noted on the forums. \r\nhttps://groups.google.com/forum/#!topic/loopbackjs/jqmtqaB8k-M"}}