mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Sort2Hash: Compare hash filter
This commit is contained in:
parent
56e6e70a76
commit
243205c513
@ -31,11 +31,11 @@
|
||||
});
|
||||
// use the newest filter comparison code
|
||||
if ( ts.filter.equalFilters ) {
|
||||
temp = ts.filter.equalFilters(c, c.lastSearch, pager.currentFilters);
|
||||
temp = ts.filter.equalFilters( c, c.lastSearch, filter );
|
||||
} else {
|
||||
// quick n' dirty comparison... it will miss filter changes of
|
||||
// the same value in a different column, see #1363
|
||||
temp = ( c.lastSearch || [] ).join( '' ) !== ( pager.currentFilters || [] ).join( '' );
|
||||
temp = ( c.lastSearch || [] ).join( '' ) !== ( filter || [] ).join( '' );
|
||||
}
|
||||
// don't set filters if they haven't changed
|
||||
if ( !temp ) {
|
||||
|
Loading…
Reference in New Issue
Block a user