mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
emit value expected by new lists from smart search
This commit is contained in:
parent
3d42fb1237
commit
e89f9b62f5
@ -77,6 +77,7 @@ function SmartSearchController (
|
||||
}
|
||||
$scope.dataset = res.data;
|
||||
$scope.collection = res.data.results;
|
||||
$scope.$emit('updateDataset', res.data);
|
||||
});
|
||||
|
||||
$scope.searchTerm = null;
|
||||
@ -200,6 +201,7 @@ function SmartSearchController (
|
||||
}
|
||||
$scope.dataset = data;
|
||||
$scope.collection = data.results;
|
||||
$scope.$emit('updateDataset', data);
|
||||
})
|
||||
.catch(() => revertSearch(unmodifiedQueryset));
|
||||
|
||||
@ -234,6 +236,7 @@ function SmartSearchController (
|
||||
}
|
||||
$scope.dataset = data;
|
||||
$scope.collection = data.results;
|
||||
$scope.$emit('updateDataset', data);
|
||||
});
|
||||
|
||||
generateSearchTags();
|
||||
@ -263,6 +266,7 @@ function SmartSearchController (
|
||||
}
|
||||
$scope.dataset = data;
|
||||
$scope.collection = data.results;
|
||||
$scope.$emit('updateDataset', data);
|
||||
});
|
||||
|
||||
$scope.searchTags = qs.stripDefaultParams(queryset, defaults);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user