{"action":"created","issue":{"url":"https://api.github.com/repos/apache/couchdb-mango/issues/2","labels_url":"https://api.github.com/repos/apache/couchdb-mango/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/apache/couchdb-mango/issues/2/comments","events_url":"https://api.github.com/repos/apache/couchdb-mango/issues/2/events","html_url":"https://github.com/apache/couchdb-mango/pull/2","id":58860922,"number":2,"title":"Use different comparison function","user":{"login":"tonysun83","id":6991573,"avatar_url":"https://avatars.githubusercontent.com/u/6991573?v=3","gravatar_id":"","url":"https://api.github.com/users/tonysun83","html_url":"https://github.com/tonysun83","followers_url":"https://api.github.com/users/tonysun83/followers","following_url":"https://api.github.com/users/tonysun83/following{/other_user}","gists_url":"https://api.github.com/users/tonysun83/gists{/gist_id}","starred_url":"https://api.github.com/users/tonysun83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonysun83/subscriptions","organizations_url":"https://api.github.com/users/tonysun83/orgs","repos_url":"https://api.github.com/users/tonysun83/repos","events_url":"https://api.github.com/users/tonysun83/events{/privacy}","received_events_url":"https://api.github.com/users/tonysun83/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-25T07:24:21Z","updated_at":"2015-02-25T09:19:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/couchdb-mango/pulls/2","html_url":"https://github.com/apache/couchdb-mango/pull/2","diff_url":"https://github.com/apache/couchdb-mango/pull/2.diff","patch_url":"https://github.com/apache/couchdb-mango/pull/2.patch"},"body":"Our mango_json:cmp/2 function used couch_ejson_compare:less_json.\r\nThat function returned a boolean value, but we need a number.\r\nDocuments were not returned and tests were failing. Changed function\r\nto use couch_ejson_compare:less instead. Tests now pass.\r\n\r\nFixes COUCHDB-2622"},"comment":{"url":"https://api.github.com/repos/apache/couchdb-mango/issues/comments/75928776","html_url":"https://github.com/apache/couchdb-mango/pull/2#issuecomment-75928776","issue_url":"https://api.github.com/repos/apache/couchdb-mango/issues/2","id":75928776,"user":{"login":"kxepal","id":785983,"avatar_url":"https://avatars.githubusercontent.com/u/785983?v=3","gravatar_id":"","url":"https://api.github.com/users/kxepal","html_url":"https://github.com/kxepal","followers_url":"https://api.github.com/users/kxepal/followers","following_url":"https://api.github.com/users/kxepal/following{/other_user}","gists_url":"https://api.github.com/users/kxepal/gists{/gist_id}","starred_url":"https://api.github.com/users/kxepal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kxepal/subscriptions","organizations_url":"https://api.github.com/users/kxepal/orgs","repos_url":"https://api.github.com/users/kxepal/repos","events_url":"https://api.github.com/users/kxepal/events{/privacy}","received_events_url":"https://api.github.com/users/kxepal/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T09:19:27Z","updated_at":"2015-02-25T09:19:27Z","body":"+1"}}