{"action":"created","issue":{"url":"https://api.github.com/repos/twisted/txmongo/issues/183","repository_url":"https://api.github.com/repos/twisted/txmongo","labels_url":"https://api.github.com/repos/twisted/txmongo/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/twisted/txmongo/issues/183/comments","events_url":"https://api.github.com/repos/twisted/txmongo/issues/183/events","html_url":"https://github.com/twisted/txmongo/pull/183","id":180155790,"number":183,"title":"Multi-key sort specs and hints fixed","user":{"login":"IlyaSkriblovsky","id":909638,"avatar_url":"https://avatars.githubusercontent.com/u/909638?v=3","gravatar_id":"","url":"https://api.github.com/users/IlyaSkriblovsky","html_url":"https://github.com/IlyaSkriblovsky","followers_url":"https://api.github.com/users/IlyaSkriblovsky/followers","following_url":"https://api.github.com/users/IlyaSkriblovsky/following{/other_user}","gists_url":"https://api.github.com/users/IlyaSkriblovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/IlyaSkriblovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IlyaSkriblovsky/subscriptions","organizations_url":"https://api.github.com/users/IlyaSkriblovsky/orgs","repos_url":"https://api.github.com/users/IlyaSkriblovsky/repos","events_url":"https://api.github.com/users/IlyaSkriblovsky/events{/privacy}","received_events_url":"https://api.github.com/users/IlyaSkriblovsky/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-09-29T20:35:58Z","updated_at":"2016-10-02T08:04:14Z","closed_at":"2016-10-02T06:41:13Z","pull_request":{"url":"https://api.github.com/repos/twisted/txmongo/pulls/183","html_url":"https://github.com/twisted/txmongo/pull/183","diff_url":"https://github.com/twisted/txmongo/pull/183.diff","patch_url":"https://github.com/twisted/txmongo/pull/183.patch"},"body":"TxMongo has the serious bug: if sorting specification or hint contains several fields, it gets transformed to a `dict` before issuing the query, so the real fields order in BSON is undefined and so ordering is undefined too.\r\n\r\nThis patch fixes it by using `SON` instead of `dict`. Unfortunately, I can't imagine how to make an unintrusive test case for this except making `Collection.__apply_find_filter` non-private and test by calling it."},"comment":{"url":"https://api.github.com/repos/twisted/txmongo/issues/comments/250959301","html_url":"https://github.com/twisted/txmongo/pull/183#issuecomment-250959301","issue_url":"https://api.github.com/repos/twisted/txmongo/issues/183","id":250959301,"user":{"login":"psi29a","id":1122069,"avatar_url":"https://avatars.githubusercontent.com/u/1122069?v=3","gravatar_id":"","url":"https://api.github.com/users/psi29a","html_url":"https://github.com/psi29a","followers_url":"https://api.github.com/users/psi29a/followers","following_url":"https://api.github.com/users/psi29a/following{/other_user}","gists_url":"https://api.github.com/users/psi29a/gists{/gist_id}","starred_url":"https://api.github.com/users/psi29a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psi29a/subscriptions","organizations_url":"https://api.github.com/users/psi29a/orgs","repos_url":"https://api.github.com/users/psi29a/repos","events_url":"https://api.github.com/users/psi29a/events{/privacy}","received_events_url":"https://api.github.com/users/psi29a/received_events","type":"User","site_admin":false},"created_at":"2016-10-02T08:04:14Z","updated_at":"2016-10-02T08:04:14Z","body":"Uploaded to pypi: 16.2.0"}}
{"actor":{"display_login":"psi29a"}}