diff --git a/apps/static/js/jumpserver.js b/apps/static/js/jumpserver.js index a76c44187..27b73dce0 100644 --- a/apps/static/js/jumpserver.js +++ b/apps/static/js/jumpserver.js @@ -310,11 +310,11 @@ jumpserver.initDataTable = function (options) { if (!jumpserver.checked) { $(this).closest('table').find('.ipt_check').prop('checked', true); jumpserver.checked = true; - table.rows().select(); + table.rows({search:'applied'}).select(); } else { $(this).closest('table').find('.ipt_check').prop('checked', false); jumpserver.checked = false; - table.rows().deselect(); + table.rows({search:'applied'}).deselect(); } });