mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 01:10:10 +00:00
fix for measurement filtering in active monitoring
This commit is contained in:
parent
18bf6fa3d5
commit
6e84ce424b
1 changed files with 3 additions and 3 deletions
|
|
@ -295,7 +295,7 @@ $(document).ready(function() {
|
|||
for (let filter of filters) {
|
||||
|
||||
const $entry = createEntry(filter.label, filter.key, (e) => {
|
||||
table_api.column(column_index).search(filter.regex, true).draw(true);
|
||||
table_api.column(column_index).search(filter.regex, true, false).draw();
|
||||
});
|
||||
$menuContainer.append($entry);
|
||||
}
|
||||
|
|
@ -336,7 +336,7 @@ $(document).ready(function() {
|
|||
filters.push({
|
||||
key: measurement,
|
||||
label: `${measurements_info[measurement].label} (${count})`,
|
||||
regex: `${measurement}\:\/\/`
|
||||
regex: `^(${measurement}://).+`
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -445,7 +445,7 @@ $(document).ready(function() {
|
|||
{
|
||||
data: 'url',
|
||||
render: function(href, type, row) {
|
||||
if (type === 'display' || type === 'filter') {
|
||||
if (type === 'display') {
|
||||
if (href == "" || href == undefined) return "";
|
||||
if(row.alerted) {
|
||||
return ` ${href} <i class="fas fa-exclamation-triangle" style="color: #f0ad4e;"></i>`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue