{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/2337","repository_url":"https://api.github.com/repos/mautic/mautic","labels_url":"https://api.github.com/repos/mautic/mautic/issues/2337/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/2337/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/2337/events","html_url":"https://github.com/mautic/mautic/pull/2337","id":172049909,"number":2337,"title":"Fixed a couple cases where filter strings did not work as expected with contacts","user":{"login":"alanhartless","id":63312,"avatar_url":"https://avatars.githubusercontent.com/u/63312?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhartless","html_url":"https://github.com/alanhartless","followers_url":"https://api.github.com/users/alanhartless/followers","following_url":"https://api.github.com/users/alanhartless/following{/other_user}","gists_url":"https://api.github.com/users/alanhartless/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhartless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhartless/subscriptions","organizations_url":"https://api.github.com/users/alanhartless/orgs","repos_url":"https://api.github.com/users/alanhartless/repos","events_url":"https://api.github.com/users/alanhartless/events{/privacy}","received_events_url":"https://api.github.com/users/alanhartless/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mautic/mautic/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/mautic/mautic/labels/Ready%20To%20Test","name":"Ready To Test","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mautic/mautic/milestones/19","html_url":"https://github.com/mautic/mautic/milestones/2.1.1","labels_url":"https://api.github.com/repos/mautic/mautic/milestones/19/labels","id":1922792,"number":19,"title":"2.1.1","description":"","creator":{"login":"alanhartless","id":63312,"avatar_url":"https://avatars.githubusercontent.com/u/63312?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhartless","html_url":"https://github.com/alanhartless","followers_url":"https://api.github.com/users/alanhartless/followers","following_url":"https://api.github.com/users/alanhartless/following{/other_user}","gists_url":"https://api.github.com/users/alanhartless/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhartless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhartless/subscriptions","organizations_url":"https://api.github.com/users/alanhartless/orgs","repos_url":"https://api.github.com/users/alanhartless/repos","events_url":"https://api.github.com/users/alanhartless/events{/privacy}","received_events_url":"https://api.github.com/users/alanhartless/received_events","type":"User","site_admin":false},"open_issues":113,"closed_issues":3,"state":"open","created_at":"2016-08-04T04:00:26Z","updated_at":"2016-08-19T06:25:04Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-08-19T03:59:07Z","updated_at":"2016-08-19T09:15:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mautic/mautic/pulls/2337","html_url":"https://github.com/mautic/mautic/pull/2337","diff_url":"https://github.com/mautic/mautic/pull/2337.diff","patch_url":"https://github.com/mautic/mautic/pull/2337.patch"},"body":"Please answer the following questions. \r\n\r\n| Q  | A\r\n| --- | ---\r\n| Bug fix? | y\r\n| New feature? | n\r\n| Related user documentation PR URL | na\r\n| Related developer documentation PR URL | na\r\n| Issues addressed (#s or URLs) | #1593\r\n| BC breaks? | n\r\n| Deprecations? | n\r\n\r\n**Note that all new features should have a related user and/or developer documentation PR in their respective repositories.** \r\n\r\n### Required\r\n#### Description:\r\n\r\nThis PR fixes the following two search scenarios for contacts:\r\n\r\n1. `!segment:alias` (would return the segment's contacts because the queries weren't written to accommodate the NOT)\r\n2. `foo@bar.com OR bar@foo.com` (would return all identified leads because the auto-appended \"is not anonymous\" was added as an OR instead of AND)\r\n\r\n#### Steps to test this PR:\r\n1. Search the two examples above and the results should be appropriate.\r\n\r\n### As applicable\r\n#### Steps to reproduce the bug:\r\n1. Search the two examples above and the results will not be appropriate\r\n"},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/240969161","html_url":"https://github.com/mautic/mautic/pull/2337#issuecomment-240969161","issue_url":"https://api.github.com/repos/mautic/mautic/issues/2337","id":240969161,"user":{"login":"mqueme","id":1496976,"avatar_url":"https://avatars.githubusercontent.com/u/1496976?v=3","gravatar_id":"","url":"https://api.github.com/users/mqueme","html_url":"https://github.com/mqueme","followers_url":"https://api.github.com/users/mqueme/followers","following_url":"https://api.github.com/users/mqueme/following{/other_user}","gists_url":"https://api.github.com/users/mqueme/gists{/gist_id}","starred_url":"https://api.github.com/users/mqueme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mqueme/subscriptions","organizations_url":"https://api.github.com/users/mqueme/orgs","repos_url":"https://api.github.com/users/mqueme/repos","events_url":"https://api.github.com/users/mqueme/events{/privacy}","received_events_url":"https://api.github.com/users/mqueme/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T09:15:47Z","updated_at":"2016-08-19T09:15:47Z","body":"+1"}}
{"actor":{"display_login":"mqueme"}}