mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
some changes
This commit is contained in:
parent
e6db1fadfc
commit
a3e53194b0
@ -1167,7 +1167,7 @@ ts.filter = {
|
||||
|
||||
// specific columns search
|
||||
var query = data.anyMatchFilter.split( ts.filter.regex.andSplit );
|
||||
console.log(query);
|
||||
var injected = false;
|
||||
for (var i = 0; i<query.length; i++) {
|
||||
var res = query[i].split(":");
|
||||
if (res.length>1) {
|
||||
@ -1176,11 +1176,14 @@ ts.filter = {
|
||||
filters[res[0]] = res[1];
|
||||
query.splice(i, 1);
|
||||
i--;
|
||||
injected = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (injected) {
|
||||
data.anyMatchFilter = query.join(" && ");
|
||||
}
|
||||
}
|
||||
|
||||
// optimize searching only through already filtered rows - see #313
|
||||
searchFiltered = wo.filter_searchFiltered;
|
||||
|
Loading…
Reference in New Issue
Block a user