{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfCake/search/issues/133","repository_url":"https://api.github.com/repos/FriendsOfCake/search","labels_url":"https://api.github.com/repos/FriendsOfCake/search/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfCake/search/issues/133/comments","events_url":"https://api.github.com/repos/FriendsOfCake/search/issues/133/events","html_url":"https://github.com/FriendsOfCake/search/issues/133","id":184509298,"number":133,"title":"searching an number (INT field)  with LIKE does not work","user":{"login":"tom76dc","id":21366536,"avatar_url":"https://avatars.githubusercontent.com/u/21366536?v=3","gravatar_id":"","url":"https://api.github.com/users/tom76dc","html_url":"https://github.com/tom76dc","followers_url":"https://api.github.com/users/tom76dc/followers","following_url":"https://api.github.com/users/tom76dc/following{/other_user}","gists_url":"https://api.github.com/users/tom76dc/gists{/gist_id}","starred_url":"https://api.github.com/users/tom76dc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tom76dc/subscriptions","organizations_url":"https://api.github.com/users/tom76dc/orgs","repos_url":"https://api.github.com/users/tom76dc/repos","events_url":"https://api.github.com/users/tom76dc/events{/privacy}","received_events_url":"https://api.github.com/users/tom76dc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-21T15:08:34Z","updated_at":"2016-10-21T15:46:06Z","closed_at":null,"body":"Hi,\r\nI am new to the search plugin. I got everyting nicely configured , but i get no results with a LIKE on a numeric field (INT). When I use LIKE on a text field it works ok.\r\n\r\nIn the database i have numbers starting with 50.. , like 5088 , 5089 , 5090\r\n\r\nWhen i search with like for 508* i get no results , only when ik use the exact number 5088 i get results.\r\nWhen i do the same on a text field, this is no problem. Its like the % are gone , when the field is numeric\r\n\r\n\r\nIn my model\r\n```php\r\n    // Search Plugin \r\n    public function searchConfiguration()\r\n    {\r\n        $search = new Manager($this);\r\n        $search->like('q', [\r\n                'wildcardAny' => '*',\r\n                 'field' => ['number','notes']\r\n            ]);\r\n       return $search;\r\n    }\r\n```\r\nIs it me , or is it a bug,\r\n\r\nregards,\r\nTom\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FriendsOfCake/search/issues/comments/255412995","html_url":"https://github.com/FriendsOfCake/search/issues/133#issuecomment-255412995","issue_url":"https://api.github.com/repos/FriendsOfCake/search/issues/133","id":255412995,"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},"created_at":"2016-10-21T15:46:06Z","updated_at":"2016-10-21T15:46:06Z","body":"So the fix proposed as core PR only works for a small subset of DBs?"}}
{"actor":{"display_login":"dereuromark"}}