Filter: setFilters behaves more like a triggered search. Fixes #588

This commit is contained in:
Mottie 2014-04-23 18:55:47 -05:00
parent 82a8a6852a
commit 9935b651b1

View File

@ -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;