jbritten / jquery-tablesorter-filter

A search/filter plugin which extends the jQuery TableSorter plugin
79 stars 38 forks source link

Javascript errors when used with tablesorter 2.0.5b #5

Open nikkilocke opened 13 years ago

nikkilocke commented 13 years ago

The filter attempts to access table.config.cache - but there is no such variable. I looked at tablesorter, and cache appears to be a local variable. I tried assigning it to table.config.cache every time it was altered (in tablesorter), and that made the javascript errors go away. I could even trace through the code, and see it building up resultRows. But the display was never updated - it remained as if I had not typed anything into the filter. I'm afraid I'm a bit out of my depth beyond this point :-(

I don't know if this is relevant, but I am using tablesorter.pager at the same time.

I have put this issue in again, as I accidentally closed it last time, and I can't figure out how to reopen the old one.

stevehodges commented 12 years ago

I'm having the same issue. This plugin appears to not be compatible with the current version of tablesorter.

Mottie commented 12 years ago

It works with my fork of tablesorter... I do have the cache saved to table.config as well.