{"action":"created","issue":{"url":"https://api.github.com/repos/toptal/chewy/issues/177","labels_url":"https://api.github.com/repos/toptal/chewy/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/toptal/chewy/issues/177/comments","events_url":"https://api.github.com/repos/toptal/chewy/issues/177/events","html_url":"https://github.com/toptal/chewy/issues/177","id":77887573,"number":177,"title":"Scenario that requires setting scope.criteria.sort directly","user":{"login":"caldwecr","id":5562142,"avatar_url":"https://avatars.githubusercontent.com/u/5562142?v=3","gravatar_id":"","url":"https://api.github.com/users/caldwecr","html_url":"https://github.com/caldwecr","followers_url":"https://api.github.com/users/caldwecr/followers","following_url":"https://api.github.com/users/caldwecr/following{/other_user}","gists_url":"https://api.github.com/users/caldwecr/gists{/gist_id}","starred_url":"https://api.github.com/users/caldwecr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caldwecr/subscriptions","organizations_url":"https://api.github.com/users/caldwecr/orgs","repos_url":"https://api.github.com/users/caldwecr/repos","events_url":"https://api.github.com/users/caldwecr/events{/privacy}","received_events_url":"https://api.github.com/users/caldwecr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-19T01:47:57Z","updated_at":"2015-06-10T03:21:57Z","closed_at":"2015-06-10T03:21:57Z","body":"@pyromaniac kind of confused why this happens.\r\n\r\nWas it your intent that in order to control the sorting behavior of an elasticsearch query that I would have to set scope.criteria.sort?\r\n\r\nBased on the docs I was under the impression that this was the purpose of the #order method."},"comment":{"url":"https://api.github.com/repos/toptal/chewy/issues/comments/110571999","html_url":"https://github.com/toptal/chewy/issues/177#issuecomment-110571999","issue_url":"https://api.github.com/repos/toptal/chewy/issues/177","id":110571999,"user":{"login":"caldwecr","id":5562142,"avatar_url":"https://avatars.githubusercontent.com/u/5562142?v=3","gravatar_id":"","url":"https://api.github.com/users/caldwecr","html_url":"https://github.com/caldwecr","followers_url":"https://api.github.com/users/caldwecr/followers","following_url":"https://api.github.com/users/caldwecr/following{/other_user}","gists_url":"https://api.github.com/users/caldwecr/gists{/gist_id}","starred_url":"https://api.github.com/users/caldwecr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caldwecr/subscriptions","organizations_url":"https://api.github.com/users/caldwecr/orgs","repos_url":"https://api.github.com/users/caldwecr/repos","events_url":"https://api.github.com/users/caldwecr/events{/privacy}","received_events_url":"https://api.github.com/users/caldwecr/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T03:21:57Z","updated_at":"2015-06-10T03:21:57Z","body":"User error. "}}