{"action":"created","issue":{"url":"https://api.github.com/repos/vedmack/yadcf/issues/148","labels_url":"https://api.github.com/repos/vedmack/yadcf/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/vedmack/yadcf/issues/148/comments","events_url":"https://api.github.com/repos/vedmack/yadcf/issues/148/events","html_url":"https://github.com/vedmack/yadcf/issues/148","id":54813700,"number":148,"title":"Being able to use smart filtering in case of contains filter_match_mode","user":{"login":"MrCsabaToth","id":744949,"avatar_url":"https://avatars.githubusercontent.com/u/744949?v=3","gravatar_id":"","url":"https://api.github.com/users/MrCsabaToth","html_url":"https://github.com/MrCsabaToth","followers_url":"https://api.github.com/users/MrCsabaToth/followers","following_url":"https://api.github.com/users/MrCsabaToth/following{/other_user}","gists_url":"https://api.github.com/users/MrCsabaToth/gists{/gist_id}","starred_url":"https://api.github.com/users/MrCsabaToth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrCsabaToth/subscriptions","organizations_url":"https://api.github.com/users/MrCsabaToth/orgs","repos_url":"https://api.github.com/users/MrCsabaToth/repos","events_url":"https://api.github.com/users/MrCsabaToth/events{/privacy}","received_events_url":"https://api.github.com/users/MrCsabaToth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-19T21:19:44Z","updated_at":"2015-01-29T22:41:27Z","closed_at":"2015-01-29T22:41:27Z","body":"I'm in the situation when the users have the global search box and yadcf text filters per column too. They expect the same kind of functionality from both: if they type fraction of keywords after each other separated by space, the search engine would basically split the whole term to multiple terms separated by space and evaluate each. That's what smart search (bSmart) does under the hood.\r\n\r\nhttps://stackoverflow.com/questions/27997189/yadcf-smart-filtering-with-contains-filter\r\n\r\nSo far I made a modification in yadcfMatchFilter:\r\n```\r\nif (filter_match_mode === \"contains\") {\r\n\t\t    oTable.fnFilter(selected_value, column_number, false, true, true, case_insensitive);\r\n```\r\nNotice that the parameters are not false *false* true, but false *true* true, the second parameters is the bSmart for fnFilter."},"comment":{"url":"https://api.github.com/repos/vedmack/yadcf/issues/comments/72119347","html_url":"https://github.com/vedmack/yadcf/issues/148#issuecomment-72119347","issue_url":"https://api.github.com/repos/vedmack/yadcf/issues/148","id":72119347,"user":{"login":"vedmack","id":1679967,"avatar_url":"https://avatars.githubusercontent.com/u/1679967?v=3","gravatar_id":"","url":"https://api.github.com/users/vedmack","html_url":"https://github.com/vedmack","followers_url":"https://api.github.com/users/vedmack/followers","following_url":"https://api.github.com/users/vedmack/following{/other_user}","gists_url":"https://api.github.com/users/vedmack/gists{/gist_id}","starred_url":"https://api.github.com/users/vedmack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedmack/subscriptions","organizations_url":"https://api.github.com/users/vedmack/orgs","repos_url":"https://api.github.com/users/vedmack/repos","events_url":"https://api.github.com/users/vedmack/events{/privacy}","received_events_url":"https://api.github.com/users/vedmack/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T22:41:27Z","updated_at":"2015-01-29T22:41:27Z","body":"bSmart is set to true in contains (0.8.7.beta.12)"}}