Host Events - exclude changed events from ok filter #1132

This commit is contained in:
Leigh Johnson 2016-03-20 14:17:08 -04:00
parent 7c1efea037
commit 3ada60d7d4

View File

@ -77,8 +77,8 @@
if (filter == 'ok'){
return JobDetailService.getRelatedJobEvents($stateParams.id, {
host_name: $stateParams.hostName,
event: 'runner_on_ok'
// add param changed: false if 'ok' shouldn't display changed hosts
event: 'runner_on_ok',
changed: false
})
.success(function(res){
$scope.results = res.results;