This commit is contained in:
@@ -85,7 +85,7 @@ function FiltrarTabla(idtxt, idtable, idcontador) {
|
||||
$('div.ADScroller .ADScroller-header table#' + idtable + ' tr:not(.ADtr)').css('display', '');
|
||||
}
|
||||
if ($('#' + idcontador).length > 0) {
|
||||
$('#' + idcontador).html($('#' + idtable + ' tr:visible').length);
|
||||
$('#' + idcontador).html($('#' + idtable + ' tr:visible:not(.ADtr)').length);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ function FiltrarTablaStr(str, idtable, idcontador) {
|
||||
$('div.ADScroller .ADScroller-header table#' + idtable + ' tr:not(.ADtr)').css('display', '');
|
||||
}
|
||||
if ($('#' + idcontador).length > 0) {
|
||||
$('#' + idcontador).html($('#' + idtable + ' tr:visible').length);
|
||||
$('#' + idcontador).html($('#' + idtable + ' tr:visible:not(.hidetrad):not(.ADtr)').length);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ function FiltrarTablaStrMulti(idtable, idcontador /*, str1, str2, str3...*/ ) {
|
||||
$('div.ADScroller .ADScroller-header table#' + idtable + ' tr:not(.ADtr)').css('display', '');
|
||||
if (idcontador) {
|
||||
if ($('#' + idcontador).length > 0) {
|
||||
$('#' + idcontador).html($('#' + idtable + ' tr:visible').length);
|
||||
$('#' + idcontador).html($('#' + idtable + ' tr:visible:not(.hidetrad):not(.ADtr)').length);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -130,7 +130,7 @@ function FiltrarTablaClass(idtxt, idtable, idcontador, resta) {
|
||||
$('div.ADScroller .ADScroller-header table#' + idtable + ' tr:not(.ADtr)').removeClass('hidetrad');
|
||||
}
|
||||
if ($('#' + idcontador).length > 0) {
|
||||
let numconta = $('#' + idtable + ' tr:not(.hidetrad):not(.ADtr)').length;
|
||||
let numconta = $('#' + idtable + ' tr:visible:not(.hidetrad):not(.ADtr)').length;
|
||||
if (numconta > 0) { numconta - resta}
|
||||
$('#' + idcontador).html(numconta );
|
||||
}
|
||||
@@ -144,7 +144,7 @@ function FiltrarTablaV2(idtxt, idtable, idcontador) {
|
||||
$('div.ADScroller .ADScroller-header ' + idtable + ' tr:not(.ADtr)').css('display', '');
|
||||
}
|
||||
if ($('#' + idcontador).length > 0) {
|
||||
$('#' + idcontador).html($(idtable + ' tr:visible').length);
|
||||
$('#' + idcontador).html($(idtable + ' tr:visible:not(.hidetrad):not(.ADtr)').length);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user