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