From df5276238e1655bf84b0fdc94462b01c412964c4 Mon Sep 17 00:00:00 2001 From: Mottie Date: Fri, 20 Feb 2015 14:17:49 -0600 Subject: [PATCH] Filter: ensure anymatch is a string value --- js/widgets/widget-filter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/widgets/widget-filter.js b/js/widgets/widget-filter.js index 6e8572c9..53e66ecb 100644 --- a/js/widgets/widget-filter.js +++ b/js/widgets/widget-filter.js @@ -843,7 +843,7 @@ ts.filter = { } if ((wo.filter_$anyMatch && wo.filter_$anyMatch.length) || filters[c.columns]) { 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) { // replace accents data.anyMatchFilter = ts.replaceAccents(data.anyMatchFilter);