mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
This commit is contained in:
parent
f5550fbee0
commit
8c2844b0ce
2
dist/js/widgets/widget-filter.min.js
vendored
2
dist/js/widgets/widget-filter.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1481,7 +1481,10 @@ ts.getFilters = function( table, getRaw, setFilters, skipFirst ) {
|
||||
filters = false,
|
||||
c = table ? $( table )[0].config : '',
|
||||
wo = c ? c.widgetOptions : '';
|
||||
if ( getRaw !== true && wo && !wo.filter_columnFilters ) {
|
||||
if ( ( getRaw !== true && wo && !wo.filter_columnFilters ) ||
|
||||
// setFilters called, but last search is exactly the same as the current
|
||||
// fixes issue #733 & #903 where calling update causes the input values to reset
|
||||
( $.isArray(setFilters) && setFilters.join('') === c.lastCombinedFilter ) ) {
|
||||
return $( table ).data( 'lastSearch' );
|
||||
}
|
||||
if ( c ) {
|
||||
|
Loading…
Reference in New Issue
Block a user