mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
setFilters supports jQuery table object
This commit is contained in:
parent
e446d6ecc4
commit
e6646c64c0
@ -1196,7 +1196,7 @@ ts.setFilters = function(table, filter, apply, skipFirst) {
|
||||
if (c && apply) {
|
||||
// ensure new set filters are applied, even if the search is the same
|
||||
c.lastCombinedFilter = null;
|
||||
ts.filter.findRows( table, filter, (filter || []).join('') );
|
||||
ts.filter.findRows( c.$table[0], filter, (filter || []).join('') );
|
||||
c.$table.trigger('filterFomatterUpdate');
|
||||
}
|
||||
return !!valid;
|
||||
|
Loading…
Reference in New Issue
Block a user