diff --git a/js/jquery.tablesorter.widgets.js b/js/jquery.tablesorter.widgets.js index 567374e6..96bbb655 100644 --- a/js/jquery.tablesorter.widgets.js +++ b/js/jquery.tablesorter.widgets.js @@ -1583,13 +1583,13 @@ showRow = true, hasAnyMatchInput = wo.filter_$anyMatch && wo.filter_$anyMatch.length, - // if wo.filter_$anyMatch data-column attribute is changed dynamically - // we don't want to do an "anyMatch" search on one column using data - // for the entire row - see #998 - columnIndex = wo.filter_$anyMatch && wo.filter_$anyMatch.length ? - // look for multiple columns '1-3,4-6,8' - tsf.multipleColumns( c, wo.filter_$anyMatch ) : - []; + // if wo.filter_$anyMatch data-column attribute is changed dynamically + // we don't want to do an "anyMatch" search on one column using data + // for the entire row - see #998 + columnIndex = wo.filter_$anyMatch && wo.filter_$anyMatch.length ? + // look for multiple columns '1-3,4-6,8' + tsf.multipleColumns( c, wo.filter_$anyMatch ) : + []; data.$cells = data.$row.children(); data.matchedOn = null; if ( data.anyMatchFlag && columnIndex.length > 1 || ( data.anyMatchFilter && !hasAnyMatchInput ) ) {