mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
Fixed jobs list search params
the jobs list page accepts query params for status, but this functionality broke w/ the change to 1 pane instead of 4. Now its fixed
This commit is contained in:
parent
a82c138a32
commit
40f0548fe7
@ -37,12 +37,14 @@ export function JobsListController ($rootScope, $log, $scope, $compile, $routePa
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
// After all choices are ready, load up the lists and populate the page
|
||||
if ($scope.removeBuildJobsList) {
|
||||
$scope.removeBuildJobsList();
|
||||
}
|
||||
$scope.removeBuildJobsList = $scope.$on('buildJobsList', function() {
|
||||
var opt, search_params;
|
||||
var opt, search_params={};
|
||||
|
||||
if (AllJobsList.fields.type) {
|
||||
AllJobsList.fields.type.searchOptions = $scope.type_choices;
|
||||
@ -69,8 +71,11 @@ export function JobsListController ($rootScope, $log, $scope, $compile, $routePa
|
||||
id: 'active-jobs',
|
||||
url: GetBasePath('unified_jobs') + '?status__in=pending,running,completed,failed,successful,error,canceled',
|
||||
pageSize: max_rows,
|
||||
searchParams: search_params,
|
||||
spinner: false
|
||||
});
|
||||
|
||||
|
||||
scheduled_scope = $scope.$new(true);
|
||||
LoadSchedulesScope({
|
||||
parent_scope: $scope,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user