From 293f57baaa984cb6aab603f8ebae690d14ee0682 Mon Sep 17 00:00:00 2001 From: "Justin F. Hallett" Date: Wed, 18 Dec 2013 11:50:33 -0700 Subject: [PATCH] Small fix so OR is matched case insensitive --- js/jquery.tablesorter.widgets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.tablesorter.widgets.js b/js/jquery.tablesorter.widgets.js index b6d35e55..9c2fddeb 100644 --- a/js/jquery.tablesorter.widgets.js +++ b/js/jquery.tablesorter.widgets.js @@ -501,7 +501,7 @@ ts.filter = { }, // Look for wild card: ? = single, * = multiple, or | = logical OR 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, query = iFilter.replace(/\s+OR\s+/gi,"|"); // look for an exact match with the "or" unless the "filter-match" class is found