mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Filter: ensure anymatch is a string value
This commit is contained in:
parent
d78f3b032b
commit
df5276238e
@ -843,7 +843,7 @@ ts.filter = {
|
|||||||
}
|
}
|
||||||
if ((wo.filter_$anyMatch && wo.filter_$anyMatch.length) || filters[c.columns]) {
|
if ((wo.filter_$anyMatch && wo.filter_$anyMatch.length) || filters[c.columns]) {
|
||||||
data.anyMatchFlag = true;
|
data.anyMatchFlag = true;
|
||||||
data.anyMatchFilter = wo.filter_$anyMatch && ts.filter.getLatestSearch( wo.filter_$anyMatch ).val() || filters[c.columns] || '';
|
data.anyMatchFilter = wo.filter_$anyMatch && ts.filter.getLatestSearch( wo.filter_$anyMatch ).val() || ('' + filters[c.columns]) || '';
|
||||||
if (c.sortLocaleCompare) {
|
if (c.sortLocaleCompare) {
|
||||||
// replace accents
|
// replace accents
|
||||||
data.anyMatchFilter = ts.replaceAccents(data.anyMatchFilter);
|
data.anyMatchFilter = ts.replaceAccents(data.anyMatchFilter);
|
||||||
|
Loading…
Reference in New Issue
Block a user