{"action":"closed","number":2874,"pull_request":{"url":"https://api.github.com/repos/mautic/mautic/pulls/2874","id":91796691,"html_url":"https://github.com/mautic/mautic/pull/2874","diff_url":"https://github.com/mautic/mautic/pull/2874.diff","patch_url":"https://github.com/mautic/mautic/pull/2874.patch","issue_url":"https://api.github.com/repos/mautic/mautic/issues/2874","number":2874,"state":"closed","locked":false,"title":"Fix string search problem","user":{"login":"chandon","id":4522557,"avatar_url":"https://avatars.githubusercontent.com/u/4522557?v=3","gravatar_id":"","url":"https://api.github.com/users/chandon","html_url":"https://github.com/chandon","followers_url":"https://api.github.com/users/chandon/followers","following_url":"https://api.github.com/users/chandon/following{/other_user}","gists_url":"https://api.github.com/users/chandon/gists{/gist_id}","starred_url":"https://api.github.com/users/chandon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandon/subscriptions","organizations_url":"https://api.github.com/users/chandon/orgs","repos_url":"https://api.github.com/users/chandon/repos","events_url":"https://api.github.com/users/chandon/events{/privacy}","received_events_url":"https://api.github.com/users/chandon/received_events","type":"User","site_admin":false},"body":"[//]: # ( Please answer the following questions: )\r\n\r\n| Q  | A\r\n| --- | ---\r\n| Bug fix? | Y\r\n| New feature? | \r\n| Related user documentation PR URL | \r\n| Related developer documentation PR URL | \r\n| Issues addressed (#s or URLs) | #2808\r\n| BC breaks? | \r\n| Deprecations? | \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\nGlobal text search was broken. It was only possible to search with begining of words/string, not middle... This fix the problem\r\n\r\n\r\n#### Steps to test this PR:\r\n1. Create a contact with a name like \"golum\"\r\n2. Go to contact, and search \"olu\"\r\n3. The contact is in the results (before, it was not) \r\n\r\n[//]: # ( As applicable: )\r\n#### Steps to reproduce the bug:\r\n1. Create a contact with a name like \"golum\"\r\n2. Go to contact, and search \"olu\"\r\n3. The contact is NOT in the results\r\n","created_at":"2016-11-01T14:49:24Z","updated_at":"2016-11-17T20:53:47Z","closed_at":"2016-11-17T20:53:47Z","merged_at":null,"merge_commit_sha":"37b4c7cd6d52968e35fab91bb511405046253867","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mautic/mautic/pulls/2874/commits","review_comments_url":"https://api.github.com/repos/mautic/mautic/pulls/2874/comments","review_comment_url":"https://api.github.com/repos/mautic/mautic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/2874/comments","statuses_url":"https://api.github.com/repos/mautic/mautic/statuses/ab56fbe4e1488fce5e879d78447edcf3e7296bb3","head":{"label":"chandon:searchProblem","ref":"searchProblem","sha":"ab56fbe4e1488fce5e879d78447edcf3e7296bb3","user":{"login":"chandon","id":4522557,"avatar_url":"https://avatars.githubusercontent.com/u/4522557?v=3","gravatar_id":"","url":"https://api.github.com/users/chandon","html_url":"https://github.com/chandon","followers_url":"https://api.github.com/users/chandon/followers","following_url":"https://api.github.com/users/chandon/following{/other_user}","gists_url":"https://api.github.com/users/chandon/gists{/gist_id}","starred_url":"https://api.github.com/users/chandon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandon/subscriptions","organizations_url":"https://api.github.com/users/chandon/orgs","repos_url":"https://api.github.com/users/chandon/repos","events_url":"https://api.github.com/users/chandon/events{/privacy}","received_events_url":"https://api.github.com/users/chandon/received_events","type":"User","site_admin":false},"repo":{"id":63814804,"name":"mautic","full_name":"chandon/mautic","owner":{"login":"chandon","id":4522557,"avatar_url":"https://avatars.githubusercontent.com/u/4522557?v=3","gravatar_id":"","url":"https://api.github.com/users/chandon","html_url":"https://github.com/chandon","followers_url":"https://api.github.com/users/chandon/followers","following_url":"https://api.github.com/users/chandon/following{/other_user}","gists_url":"https://api.github.com/users/chandon/gists{/gist_id}","starred_url":"https://api.github.com/users/chandon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandon/subscriptions","organizations_url":"https://api.github.com/users/chandon/orgs","repos_url":"https://api.github.com/users/chandon/repos","events_url":"https://api.github.com/users/chandon/events{/privacy}","received_events_url":"https://api.github.com/users/chandon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chandon/mautic","description":"Mautic: Open Source Marketing Automation Software.","fork":true,"url":"https://api.github.com/repos/chandon/mautic","forks_url":"https://api.github.com/repos/chandon/mautic/forks","keys_url":"https://api.github.com/repos/chandon/mautic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chandon/mautic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chandon/mautic/teams","hooks_url":"https://api.github.com/repos/chandon/mautic/hooks","issue_events_url":"https://api.github.com/repos/chandon/mautic/issues/events{/number}","events_url":"https://api.github.com/repos/chandon/mautic/events","assignees_url":"https://api.github.com/repos/chandon/mautic/assignees{/user}","branches_url":"https://api.github.com/repos/chandon/mautic/branches{/branch}","tags_url":"https://api.github.com/repos/chandon/mautic/tags","blobs_url":"https://api.github.com/repos/chandon/mautic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chandon/mautic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chandon/mautic/git/refs{/sha}","trees_url":"https://api.github.com/repos/chandon/mautic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chandon/mautic/statuses/{sha}","languages_url":"https://api.github.com/repos/chandon/mautic/languages","stargazers_url":"https://api.github.com/repos/chandon/mautic/stargazers","contributors_url":"https://api.github.com/repos/chandon/mautic/contributors","subscribers_url":"https://api.github.com/repos/chandon/mautic/subscribers","subscription_url":"https://api.github.com/repos/chandon/mautic/subscription","commits_url":"https://api.github.com/repos/chandon/mautic/commits{/sha}","git_commits_url":"https://api.github.com/repos/chandon/mautic/git/commits{/sha}","comments_url":"https://api.github.com/repos/chandon/mautic/comments{/number}","issue_comment_url":"https://api.github.com/repos/chandon/mautic/issues/comments{/number}","contents_url":"https://api.github.com/repos/chandon/mautic/contents/{+path}","compare_url":"https://api.github.com/repos/chandon/mautic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chandon/mautic/merges","archive_url":"https://api.github.com/repos/chandon/mautic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chandon/mautic/downloads","issues_url":"https://api.github.com/repos/chandon/mautic/issues{/number}","pulls_url":"https://api.github.com/repos/chandon/mautic/pulls{/number}","milestones_url":"https://api.github.com/repos/chandon/mautic/milestones{/number}","notifications_url":"https://api.github.com/repos/chandon/mautic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chandon/mautic/labels{/name}","releases_url":"https://api.github.com/repos/chandon/mautic/releases{/id}","deployments_url":"https://api.github.com/repos/chandon/mautic/deployments","created_at":"2016-07-20T21:11:18Z","updated_at":"2016-07-20T21:11:24Z","pushed_at":"2016-11-01T16:34:13Z","git_url":"git://github.com/chandon/mautic.git","ssh_url":"git@github.com:chandon/mautic.git","clone_url":"https://github.com/chandon/mautic.git","svn_url":"https://github.com/chandon/mautic","homepage":"https://www.mautic.org","size":61129,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"staging"}},"base":{"label":"mautic:staging","ref":"staging","sha":"afb4da4491ac2f12e8500d504906bd20f8ff47ee","user":{"login":"mautic","id":5257677,"avatar_url":"https://avatars.githubusercontent.com/u/5257677?v=3","gravatar_id":"","url":"https://api.github.com/users/mautic","html_url":"https://github.com/mautic","followers_url":"https://api.github.com/users/mautic/followers","following_url":"https://api.github.com/users/mautic/following{/other_user}","gists_url":"https://api.github.com/users/mautic/gists{/gist_id}","starred_url":"https://api.github.com/users/mautic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mautic/subscriptions","organizations_url":"https://api.github.com/users/mautic/orgs","repos_url":"https://api.github.com/users/mautic/repos","events_url":"https://api.github.com/users/mautic/events{/privacy}","received_events_url":"https://api.github.com/users/mautic/received_events","type":"Organization","site_admin":false},"repo":{"id":12204147,"name":"mautic","full_name":"mautic/mautic","owner":{"login":"mautic","id":5257677,"avatar_url":"https://avatars.githubusercontent.com/u/5257677?v=3","gravatar_id":"","url":"https://api.github.com/users/mautic","html_url":"https://github.com/mautic","followers_url":"https://api.github.com/users/mautic/followers","following_url":"https://api.github.com/users/mautic/following{/other_user}","gists_url":"https://api.github.com/users/mautic/gists{/gist_id}","starred_url":"https://api.github.com/users/mautic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mautic/subscriptions","organizations_url":"https://api.github.com/users/mautic/orgs","repos_url":"https://api.github.com/users/mautic/repos","events_url":"https://api.github.com/users/mautic/events{/privacy}","received_events_url":"https://api.github.com/users/mautic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mautic/mautic","description":"Mautic: Open Source Marketing Automation Software.","fork":false,"url":"https://api.github.com/repos/mautic/mautic","forks_url":"https://api.github.com/repos/mautic/mautic/forks","keys_url":"https://api.github.com/repos/mautic/mautic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mautic/mautic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mautic/mautic/teams","hooks_url":"https://api.github.com/repos/mautic/mautic/hooks","issue_events_url":"https://api.github.com/repos/mautic/mautic/issues/events{/number}","events_url":"https://api.github.com/repos/mautic/mautic/events","assignees_url":"https://api.github.com/repos/mautic/mautic/assignees{/user}","branches_url":"https://api.github.com/repos/mautic/mautic/branches{/branch}","tags_url":"https://api.github.com/repos/mautic/mautic/tags","blobs_url":"https://api.github.com/repos/mautic/mautic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mautic/mautic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mautic/mautic/git/refs{/sha}","trees_url":"https://api.github.com/repos/mautic/mautic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mautic/mautic/statuses/{sha}","languages_url":"https://api.github.com/repos/mautic/mautic/languages","stargazers_url":"https://api.github.com/repos/mautic/mautic/stargazers","contributors_url":"https://api.github.com/repos/mautic/mautic/contributors","subscribers_url":"https://api.github.com/repos/mautic/mautic/subscribers","subscription_url":"https://api.github.com/repos/mautic/mautic/subscription","commits_url":"https://api.github.com/repos/mautic/mautic/commits{/sha}","git_commits_url":"https://api.github.com/repos/mautic/mautic/git/commits{/sha}","comments_url":"https://api.github.com/repos/mautic/mautic/comments{/number}","issue_comment_url":"https://api.github.com/repos/mautic/mautic/issues/comments{/number}","contents_url":"https://api.github.com/repos/mautic/mautic/contents/{+path}","compare_url":"https://api.github.com/repos/mautic/mautic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mautic/mautic/merges","archive_url":"https://api.github.com/repos/mautic/mautic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mautic/mautic/downloads","issues_url":"https://api.github.com/repos/mautic/mautic/issues{/number}","pulls_url":"https://api.github.com/repos/mautic/mautic/pulls{/number}","milestones_url":"https://api.github.com/repos/mautic/mautic/milestones{/number}","notifications_url":"https://api.github.com/repos/mautic/mautic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mautic/mautic/labels{/name}","releases_url":"https://api.github.com/repos/mautic/mautic/releases{/id}","deployments_url":"https://api.github.com/repos/mautic/mautic/deployments","created_at":"2013-08-19T00:36:28Z","updated_at":"2016-11-17T20:39:55Z","pushed_at":"2016-11-17T20:46:42Z","git_url":"git://github.com/mautic/mautic.git","ssh_url":"git@github.com:mautic/mautic.git","clone_url":"https://github.com/mautic/mautic.git","svn_url":"https://github.com/mautic/mautic","homepage":"https://www.mautic.org","size":68566,"stargazers_count":1151,"watchers_count":1151,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":407,"mirror_url":null,"open_issues_count":626,"forks":407,"open_issues":626,"watchers":1151,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/mautic/mautic/pulls/2874"},"html":{"href":"https://github.com/mautic/mautic/pull/2874"},"issue":{"href":"https://api.github.com/repos/mautic/mautic/issues/2874"},"comments":{"href":"https://api.github.com/repos/mautic/mautic/issues/2874/comments"},"review_comments":{"href":"https://api.github.com/repos/mautic/mautic/pulls/2874/comments"},"review_comment":{"href":"https://api.github.com/repos/mautic/mautic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mautic/mautic/pulls/2874/commits"},"statuses":{"href":"https://api.github.com/repos/mautic/mautic/statuses/ab56fbe4e1488fce5e879d78447edcf3e7296bb3"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"alanhartless"}}