mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
fix jobs sort
This commit is contained in:
parent
462d43060e
commit
b447544dc7
@ -66,7 +66,7 @@ export function JobsListController ($rootScope, $log, $scope, $compile, $statePa
|
||||
scope: jobs_scope,
|
||||
list: AllJobsList,
|
||||
id: 'active-jobs',
|
||||
url: GetBasePath('unified_jobs') + '?status__in=pending,waiting,running,completed,failed,successful,error,canceled',
|
||||
url: GetBasePath('unified_jobs') + '?status__in=pending,waiting,running,completed,failed,successful,error,canceled&order_by=-finished',
|
||||
searchParams: search_params,
|
||||
spinner: false
|
||||
});
|
||||
|
||||
@ -302,6 +302,7 @@ export default
|
||||
url += connect + scope[iterator + 'ExtraParms'];
|
||||
}
|
||||
url = url.replace(/\&\&/g, '&').replace(/\?\&/,'?');
|
||||
|
||||
if (calcOnly) {
|
||||
scope.$emit('searchParamsReady', url);
|
||||
}
|
||||
|
||||
@ -34,8 +34,6 @@ export default
|
||||
]
|
||||
},
|
||||
id: {
|
||||
key: true,
|
||||
desc: true,
|
||||
label: 'ID',
|
||||
ngClick:"viewJobDetails(all_job)",
|
||||
searchType: 'int',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user