diff --git a/saturn-console/src/main/resources/static/js/overview.js b/saturn-console/src/main/resources/static/js/overview.js index 947943e69..cd03da629 100644 --- a/saturn-console/src/main/resources/static/js/overview.js +++ b/saturn-console/src/main/resources/static/js/overview.js @@ -259,7 +259,11 @@ $(function() { $(document).on("change", "#groupSelect", function(event) { var term = $(this).val(); regex = term ; - jobsViewDataTable.columns(11).search(regex, true, false).draw(); + if (regex == "") { + jobsViewDataTable.columns(11).search(regex, true, false).draw(); + } else { + jobsViewDataTable.columns(11).search("^" + regex + "$", true, false).draw(); + } }); $(document).on("click", "#add-job", function(event) {