mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +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 {
|
||||
const platform = filter.split(' - ')[0];
|
||||
const version = filter.split(' - ')[1];
|
||||
$scope.agents.addFilter('os.platform', platform);
|
||||
$scope.agents.addFilter('os.version', version);
|
||||
$scope.agents.addMultipleFilters([
|
||||
{ name: 'os.platform', value: platform },
|
||||
{ name: 'os.version', value: version }
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user