{"action":"created","issue":{"url":"https://api.github.com/repos/orionjs/orion/issues/203","labels_url":"https://api.github.com/repos/orionjs/orion/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/orionjs/orion/issues/203/comments","events_url":"https://api.github.com/repos/orionjs/orion/issues/203/events","html_url":"https://github.com/orionjs/orion/issues/203","id":87735917,"number":203,"title":"Tabular search","user":{"login":"Deshtructioner","id":10382356,"avatar_url":"https://avatars.githubusercontent.com/u/10382356?v=3","gravatar_id":"","url":"https://api.github.com/users/Deshtructioner","html_url":"https://github.com/Deshtructioner","followers_url":"https://api.github.com/users/Deshtructioner/followers","following_url":"https://api.github.com/users/Deshtructioner/following{/other_user}","gists_url":"https://api.github.com/users/Deshtructioner/gists{/gist_id}","starred_url":"https://api.github.com/users/Deshtructioner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deshtructioner/subscriptions","organizations_url":"https://api.github.com/users/Deshtructioner/orgs","repos_url":"https://api.github.com/users/Deshtructioner/repos","events_url":"https://api.github.com/users/Deshtructioner/events{/privacy}","received_events_url":"https://api.github.com/users/Deshtructioner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-12T13:51:43Z","updated_at":"2015-06-12T18:45:23Z","closed_at":null,"body":"When I try to search for some particular content in datatable, the search doesn't really work.\r\nTo give you an example:\r\n\r\n```js\r\nX = new orion.collection('x', {\r\n...\r\ntabular: {\r\n  columns: [\r\n    { data: \"id\", title: \"ID\" },\r\n    { data: \"creditor\", title: \"Creditor\", render: function (val, type, doc) {\r\n            var x = Creditors.findOne(val);\r\n            if(!x)\r\n    \t         return val + \" not found\";\r\n            return x.name;\r\n\t  }\r\n    },\r\n  ]\r\n}\r\n```\r\n\r\nTABLE:\r\nID -> 1010\r\nC --> Tom Jones\r\n\r\nSEARCH RESULTS:\r\n\"10\" -> nothing\r\n\"1010\" -> returns actual row\r\n\"Tom\" --> nothing\r\n\"Tom Jones\" --> nothing\r\n\r\nSo where ever I have render property, search returns nothing but also where I don't have render, search only returns result if input text is complete value, not a substring of table column content."},"comment":{"url":"https://api.github.com/repos/orionjs/orion/issues/comments/111586486","html_url":"https://github.com/orionjs/orion/issues/203#issuecomment-111586486","issue_url":"https://api.github.com/repos/orionjs/orion/issues/203","id":111586486,"user":{"login":"nicolaslopezj","id":2042567,"avatar_url":"https://avatars.githubusercontent.com/u/2042567?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolaslopezj","html_url":"https://github.com/nicolaslopezj","followers_url":"https://api.github.com/users/nicolaslopezj/followers","following_url":"https://api.github.com/users/nicolaslopezj/following{/other_user}","gists_url":"https://api.github.com/users/nicolaslopezj/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaslopezj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaslopezj/subscriptions","organizations_url":"https://api.github.com/users/nicolaslopezj/orgs","repos_url":"https://api.github.com/users/nicolaslopezj/repos","events_url":"https://api.github.com/users/nicolaslopezj/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaslopezj/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T18:45:23Z","updated_at":"2015-06-12T18:45:23Z","body":"Are you subscribed to Creditors?"}}