{"action":"created","comment":{"url":"https://api.github.com/repos/FriendsOfCake/search/pulls/comments/61417827","id":61417827,"diff_hunk":"@@ -15,7 +15,9 @@ class Like extends Base\n         'before' => false,\n         'after' => false,\n         'mode' => 'or',\n-        'comparison' => 'LIKE'\n+        'comparison' => 'LIKE',\n+        'wildcardAny' => '*',","path":"src/Model/Filter/Like.php","position":6,"original_position":6,"commit_id":"9700ed2ac3a290756b230667f8efeb92be2aa8a5","original_commit_id":"9700ed2ac3a290756b230667f8efeb92be2aa8a5","user":{"login":"dereuromark","id":39854,"avatar_url":"https://avatars.githubusercontent.com/u/39854?v=3","gravatar_id":"","url":"https://api.github.com/users/dereuromark","html_url":"https://github.com/dereuromark","followers_url":"https://api.github.com/users/dereuromark/followers","following_url":"https://api.github.com/users/dereuromark/following{/other_user}","gists_url":"https://api.github.com/users/dereuromark/gists{/gist_id}","starred_url":"https://api.github.com/users/dereuromark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereuromark/subscriptions","organizations_url":"https://api.github.com/users/dereuromark/orgs","repos_url":"https://api.github.com/users/dereuromark/repos","events_url":"https://api.github.com/users/dereuromark/events{/privacy}","received_events_url":"https://api.github.com/users/dereuromark/received_events","type":"User","site_admin":false},"body":"True, are we fine with that? As I mentioned before no non-dev user would assume it to be % or _ anyway, they use the default wildcards from all OS and google and alike.","created_at":"2016-04-28T12:24:47Z","updated_at":"2016-04-28T12:24:47Z","html_url":"https://github.com/FriendsOfCake/search/pull/83#discussion_r61417827","pull_request_url":"https://api.github.com/repos/FriendsOfCake/search/pulls/83","_links":{"self":{"href":"https://api.github.com/repos/FriendsOfCake/search/pulls/comments/61417827"},"html":{"href":"https://github.com/FriendsOfCake/search/pull/83#discussion_r61417827"},"pull_request":{"href":"https://api.github.com/repos/FriendsOfCake/search/pulls/83"}}},"pull_request":{"url":"https://api.github.com/repos/FriendsOfCake/search/pulls/83","id":68202208,"html_url":"https://github.com/FriendsOfCake/search/pull/83","diff_url":"https://github.com/FriendsOfCake/search/pull/83.diff","patch_url":"https://github.com/FriendsOfCake/search/pull/83.patch","issue_url":"https://api.github.com/repos/FriendsOfCake/search/issues/83","number":83,"state":"open","locked":false,"title":"Add proper filter behavior for LIKE wildcards.","user":{"login":"dereuromark","id":39854,"avatar_url":"https://avatars.githubusercontent.com/u/39854?v=3","gravatar_id":"","url":"https://api.github.com/users/dereuromark","html_url":"https://github.com/dereuromark","followers_url":"https://api.github.com/users/dereuromark/followers","following_url":"https://api.github.com/users/dereuromark/following{/other_user}","gists_url":"https://api.github.com/users/dereuromark/gists{/gist_id}","starred_url":"https://api.github.com/users/dereuromark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereuromark/subscriptions","organizations_url":"https://api.github.com/users/dereuromark/orgs","repos_url":"https://api.github.com/users/dereuromark/repos","events_url":"https://api.github.com/users/dereuromark/events{/privacy}","received_events_url":"https://api.github.com/users/dereuromark/received_events","type":"User","site_admin":false},"body":"Resolves https://github.com/FriendsOfCake/search/issues/82\r\n\r\nClassified as bug as currently using wildcard chars as normal text triggers wildcard behavior of DB which is not intended (unless you configure and use those specifically as wildcard chars for your filter).\r\n\r\n2nd bug was: When using array input, the LIKE before/after was not working.\r\nThere were also no tests for this bug, this is now also fixed.\r\n\r\nAlso some small code cleanup.","created_at":"2016-04-28T11:05:14Z","updated_at":"2016-04-28T12:24:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7aae897f26de381874cbafdfd01b164fae5f79d7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfCake/search/pulls/83/commits","review_comments_url":"https://api.github.com/repos/FriendsOfCake/search/pulls/83/comments","review_comment_url":"https://api.github.com/repos/FriendsOfCake/search/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FriendsOfCake/search/issues/83/comments","statuses_url":"https://api.github.com/repos/FriendsOfCake/search/statuses/9700ed2ac3a290756b230667f8efeb92be2aa8a5","head":{"label":"dereuromark:master","ref":"master","sha":"9700ed2ac3a290756b230667f8efeb92be2aa8a5","user":{"login":"dereuromark","id":39854,"avatar_url":"https://avatars.githubusercontent.com/u/39854?v=3","gravatar_id":"","url":"https://api.github.com/users/dereuromark","html_url":"https://github.com/dereuromark","followers_url":"https://api.github.com/users/dereuromark/followers","following_url":"https://api.github.com/users/dereuromark/following{/other_user}","gists_url":"https://api.github.com/users/dereuromark/gists{/gist_id}","starred_url":"https://api.github.com/users/dereuromark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereuromark/subscriptions","organizations_url":"https://api.github.com/users/dereuromark/orgs","repos_url":"https://api.github.com/users/dereuromark/repos","events_url":"https://api.github.com/users/dereuromark/events{/privacy}","received_events_url":"https://api.github.com/users/dereuromark/received_events","type":"User","site_admin":false},"repo":{"id":57295309,"name":"search-1","full_name":"dereuromark/search-1","owner":{"login":"dereuromark","id":39854,"avatar_url":"https://avatars.githubusercontent.com/u/39854?v=3","gravatar_id":"","url":"https://api.github.com/users/dereuromark","html_url":"https://github.com/dereuromark","followers_url":"https://api.github.com/users/dereuromark/followers","following_url":"https://api.github.com/users/dereuromark/following{/other_user}","gists_url":"https://api.github.com/users/dereuromark/gists{/gist_id}","starred_url":"https://api.github.com/users/dereuromark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereuromark/subscriptions","organizations_url":"https://api.github.com/users/dereuromark/orgs","repos_url":"https://api.github.com/users/dereuromark/repos","events_url":"https://api.github.com/users/dereuromark/events{/privacy}","received_events_url":"https://api.github.com/users/dereuromark/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dereuromark/search-1","description":"","fork":true,"url":"https://api.github.com/repos/dereuromark/search-1","forks_url":"https://api.github.com/repos/dereuromark/search-1/forks","keys_url":"https://api.github.com/repos/dereuromark/search-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dereuromark/search-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dereuromark/search-1/teams","hooks_url":"https://api.github.com/repos/dereuromark/search-1/hooks","issue_events_url":"https://api.github.com/repos/dereuromark/search-1/issues/events{/number}","events_url":"https://api.github.com/repos/dereuromark/search-1/events","assignees_url":"https://api.github.com/repos/dereuromark/search-1/assignees{/user}","branches_url":"https://api.github.com/repos/dereuromark/search-1/branches{/branch}","tags_url":"https://api.github.com/repos/dereuromark/search-1/tags","blobs_url":"https://api.github.com/repos/dereuromark/search-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dereuromark/search-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dereuromark/search-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/dereuromark/search-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dereuromark/search-1/statuses/{sha}","languages_url":"https://api.github.com/repos/dereuromark/search-1/languages","stargazers_url":"https://api.github.com/repos/dereuromark/search-1/stargazers","contributors_url":"https://api.github.com/repos/dereuromark/search-1/contributors","subscribers_url":"https://api.github.com/repos/dereuromark/search-1/subscribers","subscription_url":"https://api.github.com/repos/dereuromark/search-1/subscription","commits_url":"https://api.github.com/repos/dereuromark/search-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/dereuromark/search-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/dereuromark/search-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/dereuromark/search-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/dereuromark/search-1/contents/{+path}","compare_url":"https://api.github.com/repos/dereuromark/search-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dereuromark/search-1/merges","archive_url":"https://api.github.com/repos/dereuromark/search-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dereuromark/search-1/downloads","issues_url":"https://api.github.com/repos/dereuromark/search-1/issues{/number}","pulls_url":"https://api.github.com/repos/dereuromark/search-1/pulls{/number}","milestones_url":"https://api.github.com/repos/dereuromark/search-1/milestones{/number}","notifications_url":"https://api.github.com/repos/dereuromark/search-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dereuromark/search-1/labels{/name}","releases_url":"https://api.github.com/repos/dereuromark/search-1/releases{/id}","deployments_url":"https://api.github.com/repos/dereuromark/search-1/deployments","created_at":"2016-04-28T11:00:09Z","updated_at":"2016-04-28T11:00:09Z","pushed_at":"2016-04-28T12:06:46Z","git_url":"git://github.com/dereuromark/search-1.git","ssh_url":"git@github.com:dereuromark/search-1.git","clone_url":"https://github.com/dereuromark/search-1.git","svn_url":"https://github.com/dereuromark/search-1","homepage":null,"size":147,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FriendsOfCake:master","ref":"master","sha":"cac333d9656a412aec191aaa19a98627000c1b79","user":{"login":"FriendsOfCake","id":5203126,"avatar_url":"https://avatars.githubusercontent.com/u/5203126?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfCake","html_url":"https://github.com/FriendsOfCake","followers_url":"https://api.github.com/users/FriendsOfCake/followers","following_url":"https://api.github.com/users/FriendsOfCake/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfCake/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfCake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfCake/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfCake/orgs","repos_url":"https://api.github.com/users/FriendsOfCake/repos","events_url":"https://api.github.com/users/FriendsOfCake/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfCake/received_events","type":"Organization","site_admin":false},"repo":{"id":19203030,"name":"search","full_name":"FriendsOfCake/search","owner":{"login":"FriendsOfCake","id":5203126,"avatar_url":"https://avatars.githubusercontent.com/u/5203126?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfCake","html_url":"https://github.com/FriendsOfCake","followers_url":"https://api.github.com/users/FriendsOfCake/followers","following_url":"https://api.github.com/users/FriendsOfCake/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfCake/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfCake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfCake/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfCake/orgs","repos_url":"https://api.github.com/users/FriendsOfCake/repos","events_url":"https://api.github.com/users/FriendsOfCake/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfCake/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfCake/search","description":"","fork":false,"url":"https://api.github.com/repos/FriendsOfCake/search","forks_url":"https://api.github.com/repos/FriendsOfCake/search/forks","keys_url":"https://api.github.com/repos/FriendsOfCake/search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfCake/search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfCake/search/teams","hooks_url":"https://api.github.com/repos/FriendsOfCake/search/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfCake/search/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfCake/search/events","assignees_url":"https://api.github.com/repos/FriendsOfCake/search/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfCake/search/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfCake/search/tags","blobs_url":"https://api.github.com/repos/FriendsOfCake/search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfCake/search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfCake/search/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfCake/search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfCake/search/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfCake/search/languages","stargazers_url":"https://api.github.com/repos/FriendsOfCake/search/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfCake/search/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfCake/search/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfCake/search/subscription","commits_url":"https://api.github.com/repos/FriendsOfCake/search/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfCake/search/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfCake/search/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfCake/search/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfCake/search/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfCake/search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfCake/search/merges","archive_url":"https://api.github.com/repos/FriendsOfCake/search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfCake/search/downloads","issues_url":"https://api.github.com/repos/FriendsOfCake/search/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfCake/search/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfCake/search/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfCake/search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfCake/search/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfCake/search/releases{/id}","deployments_url":"https://api.github.com/repos/FriendsOfCake/search/deployments","created_at":"2014-04-27T12:01:25Z","updated_at":"2016-03-16T19:19:32Z","pushed_at":"2016-04-28T12:06:46Z","git_url":"git://github.com/FriendsOfCake/search.git","ssh_url":"git@github.com:FriendsOfCake/search.git","clone_url":"https://github.com/FriendsOfCake/search.git","svn_url":"https://github.com/FriendsOfCake/search","homepage":null,"size":178,"stargazers_count":30,"watchers_count":30,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":11,"forks":22,"open_issues":11,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfCake/search/pulls/83"},"html":{"href":"https://github.com/FriendsOfCake/search/pull/83"},"issue":{"href":"https://api.github.com/repos/FriendsOfCake/search/issues/83"},"comments":{"href":"https://api.github.com/repos/FriendsOfCake/search/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfCake/search/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfCake/search/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfCake/search/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfCake/search/statuses/9700ed2ac3a290756b230667f8efeb92be2aa8a5"}}}}