mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
parent
3b972e871d
commit
73722ffb77
@ -687,7 +687,7 @@ export default
|
||||
scope.plays = [];
|
||||
|
||||
url = scope.job.url + 'job_plays/?page_size=' + scope.playsMaxRows + '&order=id';
|
||||
url += (scope.search_play_name) ? '&play__icontains=' + scope.search_play_name : '';
|
||||
url += (scope.search_play_name) ? '&play__icontains=' + encodeURIComponent(scope.search_play_name) : '';
|
||||
url += (scope.search_play_status === 'failed') ? '&failed=true' : '';
|
||||
scope.playsLoading = true;
|
||||
Rest.setUrl(url);
|
||||
@ -786,7 +786,7 @@ export default
|
||||
scope.tasks = [];
|
||||
if (scope.selectedPlay) {
|
||||
url = scope.job.url + 'job_tasks/?event_id=' + scope.selectedPlay;
|
||||
url += (scope.search_task_name) ? '&task__icontains=' + scope.search_task_name : '';
|
||||
url += (scope.search_task_name) ? '&task__icontains=' + encodeURIComponent(scope.search_task_name) : '';
|
||||
url += (scope.search_task_status === 'failed') ? '&failed=true' : '';
|
||||
url += '&page_size=' + scope.tasksMaxRows + '&order=id';
|
||||
scope.plays.every(function(p, idx) {
|
||||
|
||||
@ -25,8 +25,8 @@
|
||||
host_name: $scope.hostName,
|
||||
};
|
||||
if ($scope.searchStr && $scope.searchStr !== ''){
|
||||
params.or__play__icontains = $scope.searchStr;
|
||||
params.or__task__icontains = $scope.searchStr;
|
||||
params.or__play__icontains = encodeURIComponent($scope.searchStr);
|
||||
params.or__task__icontains = encodeURIComponent($scope.searchStr);
|
||||
}
|
||||
|
||||
switch($scope.activeFilter){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user