mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 19:07:39 -02:30
fix sorting of portal mode jobs list
This commit is contained in:
@@ -38,8 +38,8 @@ export default
|
|||||||
defaultSearchField: true,
|
defaultSearchField: true,
|
||||||
linkTo: '/#/jobs/{{job.id}}'
|
linkTo: '/#/jobs/{{job.id}}'
|
||||||
},
|
},
|
||||||
started: {
|
finished: {
|
||||||
label: 'Started',
|
label: 'Finished',
|
||||||
noLink: true,
|
noLink: true,
|
||||||
searchable: false,
|
searchable: false,
|
||||||
filter: "longDate",
|
filter: "longDate",
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ export function PortalModeJobsController($scope, $rootScope, GetBasePath, Genera
|
|||||||
});
|
});
|
||||||
$scope.search (list.iterator);
|
$scope.search (list.iterator);
|
||||||
// hack to default to descending sort order
|
// hack to default to descending sort order
|
||||||
$scope.sort('job','started');
|
$scope.sort('job','finished');
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user