mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Filter: Prevent JS error added from last update. Fixes #1377
This commit is contained in:
parent
2cc77bda67
commit
d79dd5a27b
@ -1812,7 +1812,7 @@
|
||||
// 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.lastSearch.join(',') ) ) {
|
||||
return $( table ).data( 'lastSearch' );
|
||||
return $( table ).data( 'lastSearch' ) || [];
|
||||
}
|
||||
if ( c ) {
|
||||
if ( c.$filters ) {
|
||||
|
Loading…
Reference in New Issue
Block a user