{"action":"created","issue":{"url":"https://api.github.com/repos/mcintyre321/mvc.jquery.datatables/issues/145","repository_url":"https://api.github.com/repos/mcintyre321/mvc.jquery.datatables","labels_url":"https://api.github.com/repos/mcintyre321/mvc.jquery.datatables/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/mcintyre321/mvc.jquery.datatables/issues/145/comments","events_url":"https://api.github.com/repos/mcintyre321/mvc.jquery.datatables/issues/145/events","html_url":"https://github.com/mcintyre321/mvc.jquery.datatables/issues/145","id":150984284,"number":145,"title":"Error when trying to search a string column ","user":{"login":"chirislash","id":11575247,"avatar_url":"https://avatars.githubusercontent.com/u/11575247?v=3","gravatar_id":"","url":"https://api.github.com/users/chirislash","html_url":"https://github.com/chirislash","followers_url":"https://api.github.com/users/chirislash/followers","following_url":"https://api.github.com/users/chirislash/following{/other_user}","gists_url":"https://api.github.com/users/chirislash/gists{/gist_id}","starred_url":"https://api.github.com/users/chirislash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chirislash/subscriptions","organizations_url":"https://api.github.com/users/chirislash/orgs","repos_url":"https://api.github.com/users/chirislash/repos","events_url":"https://api.github.com/users/chirislash/events{/privacy}","received_events_url":"https://api.github.com/users/chirislash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-25T21:24:01Z","updated_at":"2016-04-29T08:23:50Z","closed_at":null,"body":"I have a column called PO-Number which returns string Data with the format [0-9]'-'[0-9].\r\nWhen I search by the first number it works fine but when I add the minus and a number it crashes and throw me this error\r\nDo I have to add some validation or I am missing something?\r\n![image](https://cloud.githubusercontent.com/assets/11575247/14799330/3381550a-0af9-11e6-9acc-cfde5cb6fb77.png)\r\n"},"comment":{"url":"https://api.github.com/repos/mcintyre321/mvc.jquery.datatables/issues/comments/215656849","html_url":"https://github.com/mcintyre321/mvc.jquery.datatables/issues/145#issuecomment-215656849","issue_url":"https://api.github.com/repos/mcintyre321/mvc.jquery.datatables/issues/145","id":215656849,"user":{"login":"mcintyre321","id":275706,"avatar_url":"https://avatars.githubusercontent.com/u/275706?v=3","gravatar_id":"","url":"https://api.github.com/users/mcintyre321","html_url":"https://github.com/mcintyre321","followers_url":"https://api.github.com/users/mcintyre321/followers","following_url":"https://api.github.com/users/mcintyre321/following{/other_user}","gists_url":"https://api.github.com/users/mcintyre321/gists{/gist_id}","starred_url":"https://api.github.com/users/mcintyre321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcintyre321/subscriptions","organizations_url":"https://api.github.com/users/mcintyre321/orgs","repos_url":"https://api.github.com/users/mcintyre321/repos","events_url":"https://api.github.com/users/mcintyre321/events{/privacy}","received_events_url":"https://api.github.com/users/mcintyre321/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T08:23:50Z","updated_at":"2016-04-29T08:23:50Z","body":"I'll be pushing a fix for this in the next couple of days - in the meantime\nyou could set [DataTables(Searcheable = false)] on the datetime properties.\nI'll update this issue when the fix is ready.\n\nOn 28 April 2016 at 18:06, chirislash <notifications@github.com> wrote:\n\n> Is there a DataTableParam to indicate that the column wich contains the\n> PO-Number is a string?\n> Or the DateTime columns are in the format dd/mm/yyyy\n> I tried with this in the JavaScript:\n> \"aoColumns\": [\n> { \"sType\": \"numeric\" },\n> { \"sType\": \"string\" },\n> { \"sType\": \"string\" },\n> { \"sType\": \"string\" },\n> { \"sType\": \"string\" },\n> { \"sType\": \"string\" },\n> { \"sType\": \"string\" },\n> { \"sType\": \"date\" },\n> { \"sType\": \"date\" },\n> { \"sType\": \"string\" },\n> { \"sType\": \"string\" }\n> ]\n> But it didn't seem to work\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/mcintyre321/mvc.jquery.datatables/issues/145#issuecomment-215496621>\n>\n"}}