mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 18:28:55 +00:00
Both filters at same time
This commit is contained in:
parent
552ea30785
commit
585af30a1b
@ -28,8 +28,10 @@ app.controller('agentsPreviewController', function ($scope,$rootScope, Notifier,
|
|||||||
} else {
|
} else {
|
||||||
const platform = filter.split(' - ')[0];
|
const platform = filter.split(' - ')[0];
|
||||||
const version = filter.split(' - ')[1];
|
const version = filter.split(' - ')[1];
|
||||||
$scope.agents.addFilter('os.platform', platform);
|
$scope.agents.addMultipleFilters([
|
||||||
$scope.agents.addFilter('os.version', version);
|
{ name: 'os.platform', value: platform },
|
||||||
|
{ name: 'os.version', value: version }
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user