mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Merge branch 'master' of github.com:Mottie/tablesorter
This commit is contained in:
commit
e3ae84a1e9
@ -501,7 +501,7 @@ ts.filter = {
|
|||||||
},
|
},
|
||||||
// Look for wild card: ? = single, * = multiple, or | = logical OR
|
// Look for wild card: ? = single, * = multiple, or | = logical OR
|
||||||
wild : function( filter, iFilter, exact, iExact, cached, index, table ) {
|
wild : function( filter, iFilter, exact, iExact, cached, index, table ) {
|
||||||
if ( /[\?|\*]/.test(iFilter) || /\s+OR\s+/.test(filter) ) {
|
if ( /[\?|\*]/.test(iFilter) || /\s+OR\s+/i.test(filter) ) {
|
||||||
var c = table.config,
|
var c = table.config,
|
||||||
query = iFilter.replace(/\s+OR\s+/gi,"|");
|
query = iFilter.replace(/\s+OR\s+/gi,"|");
|
||||||
// look for an exact match with the "or" unless the "filter-match" class is found
|
// look for an exact match with the "or" unless the "filter-match" class is found
|
||||||
|
Loading…
Reference in New Issue
Block a user