mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Exact filter matches now properly overrides other searches. Fixes #441
This commit is contained in:
parent
32f01866ac
commit
459aab55e1
@ -422,8 +422,8 @@ ts.filter = {
|
||||
// Look for quotes or equals to get an exact match; ignore type since iExact could be numeric
|
||||
exact: function( filter, iFilter, exact, iExact ) {
|
||||
/*jshint eqeqeq:false */
|
||||
if ( iFilter.replace(ts.filter.regex.exact, '') == iExact ) {
|
||||
return true;
|
||||
if (ts.filter.regex.exact.test(iFilter)) {
|
||||
return iFilter.replace(ts.filter.regex.exact, '') == iExact;
|
||||
}
|
||||
return null;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user