mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Filter: setFilters behaves more like a triggered search. Fixes #588
This commit is contained in:
parent
82a8a6852a
commit
9935b651b1
@ -1195,7 +1195,7 @@ ts.setFilters = function(table, filter, apply, skipFirst) {
|
|||||||
if (c && apply) {
|
if (c && apply) {
|
||||||
// ensure new set filters are applied, even if the search is the same
|
// ensure new set filters are applied, even if the search is the same
|
||||||
c.lastCombinedFilter = null;
|
c.lastCombinedFilter = null;
|
||||||
ts.filter.findRows( c.$table[0], filter, (filter || []).join('') );
|
ts.filter.searching(c.$table[0], filter, skipFirst);
|
||||||
c.$table.trigger('filterFomatterUpdate');
|
c.$table.trigger('filterFomatterUpdate');
|
||||||
}
|
}
|
||||||
return !!valid;
|
return !!valid;
|
||||||
|
Loading…
Reference in New Issue
Block a user