DataTables/DataTables — pull request #38 by mlandalv (2011-11-10 10:48:33+00:00)
Title: Added bSmart setting to state cookie

We experienced a problem when using individual column filters using regexp. The fnFilter signature we used was: `fnFilter(value, columnNumber, true, false, false)` which worked as expected. (You can test with value being `"^(testar\ \*)$"` and see how it fails when state is loaded.)

bSmart false in combination with bStateSave true caused the problem. State saving didn't seem to store the bSmart value, so when the state was loaded and bSmart got true, some additional regexp stuff got added to the already existing causing an invalid regexp. This pull request stores and loads the bSmart value.

Hope this helps.

Best regards, Martin

PS. Thanks for an awesome plugin! DS.