mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Fix childRow filtering
This commit is contained in:
parent
a1ea07dc15
commit
51ecf97c84
@ -927,7 +927,7 @@ ts.filter = {
|
|||||||
$rows[rowIndex].style.display = (showRow ? '' : 'none');
|
$rows[rowIndex].style.display = (showRow ? '' : 'none');
|
||||||
$rows.eq(rowIndex)[showRow ? 'removeClass' : 'addClass'](wo.filter_filteredRow);
|
$rows.eq(rowIndex)[showRow ? 'removeClass' : 'addClass'](wo.filter_filteredRow);
|
||||||
if (childRow.length) {
|
if (childRow.length) {
|
||||||
if (c.pager && c.pager.countChildRows || wo.pager_countChildRows) {
|
if (c.pager && c.pager.countChildRows || wo.pager_countChildRows || wo.filter_childRows) {
|
||||||
childRow[showRow ? 'removeClass' : 'addClass'](wo.filter_filteredRow); // see issue #396
|
childRow[showRow ? 'removeClass' : 'addClass'](wo.filter_filteredRow); // see issue #396
|
||||||
}
|
}
|
||||||
childRow.toggle(showRow);
|
childRow.toggle(showRow);
|
||||||
|
Loading…
Reference in New Issue
Block a user