mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Merge pull request #2463 from jlmitch5/portalSort
fix sorting of portal mode jobs list
This commit is contained in:
@@ -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');
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user