{"action":"created","issue":{"url":"https://api.github.com/repos/ongr-io/ElasticsearchDSL/issues/42","labels_url":"https://api.github.com/repos/ongr-io/ElasticsearchDSL/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/ongr-io/ElasticsearchDSL/issues/42/comments","events_url":"https://api.github.com/repos/ongr-io/ElasticsearchDSL/issues/42/events","html_url":"https://github.com/ongr-io/ElasticsearchDSL/pull/42","id":121173029,"number":42,"title":"Fixed | Nested query with bool doesn't work when there is only one MU…","user":{"login":"trandangtri","id":7868214,"avatar_url":"https://avatars.githubusercontent.com/u/7868214?v=3","gravatar_id":"","url":"https://api.github.com/users/trandangtri","html_url":"https://github.com/trandangtri","followers_url":"https://api.github.com/users/trandangtri/followers","following_url":"https://api.github.com/users/trandangtri/following{/other_user}","gists_url":"https://api.github.com/users/trandangtri/gists{/gist_id}","starred_url":"https://api.github.com/users/trandangtri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trandangtri/subscriptions","organizations_url":"https://api.github.com/users/trandangtri/orgs","repos_url":"https://api.github.com/users/trandangtri/repos","events_url":"https://api.github.com/users/trandangtri/events{/privacy}","received_events_url":"https://api.github.com/users/trandangtri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-09T06:39:56Z","updated_at":"2015-12-09T07:56:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ongr-io/ElasticsearchDSL/pulls/42","html_url":"https://github.com/ongr-io/ElasticsearchDSL/pull/42","diff_url":"https://github.com/ongr-io/ElasticsearchDSL/pull/42.diff","patch_url":"https://github.com/ongr-io/ElasticsearchDSL/pull/42.patch"},"body":"Related to this bug https://github.com/ongr-io/ElasticsearchDSL/issues/32"},"comment":{"url":"https://api.github.com/repos/ongr-io/ElasticsearchDSL/issues/comments/163144372","html_url":"https://github.com/ongr-io/ElasticsearchDSL/pull/42#issuecomment-163144372","issue_url":"https://api.github.com/repos/ongr-io/ElasticsearchDSL/issues/42","id":163144372,"user":{"login":"saimaz","id":115824,"avatar_url":"https://avatars.githubusercontent.com/u/115824?v=3","gravatar_id":"","url":"https://api.github.com/users/saimaz","html_url":"https://github.com/saimaz","followers_url":"https://api.github.com/users/saimaz/followers","following_url":"https://api.github.com/users/saimaz/following{/other_user}","gists_url":"https://api.github.com/users/saimaz/gists{/gist_id}","starred_url":"https://api.github.com/users/saimaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saimaz/subscriptions","organizations_url":"https://api.github.com/users/saimaz/orgs","repos_url":"https://api.github.com/users/saimaz/repos","events_url":"https://api.github.com/users/saimaz/events{/privacy}","received_events_url":"https://api.github.com/users/saimaz/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T07:56:45Z","updated_at":"2015-12-09T07:56:45Z","body":"@trandangtri please provide a few unit test cases to represent a problem and to make sure our fix works well.\r\n\r\nWe should test:\r\n- [ ] Case with 1 query in the must condition\r\n- [ ] Case with 1 queries in the should condition\r\n- [ ] Case with 2 queries in the must condition\r\n- [ ] Case with 2 queries in the should condition\r\n- [ ] Case with 1 query in each, must, must_not and should conditions"}}