Exact filter matches now properly overrides other searches. Fixes #441

This commit is contained in:
Mottie 2013-11-26 19:10:32 -06:00
parent 32f01866ac
commit 459aab55e1

View File

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