fix sorting of portal mode jobs list

This commit is contained in:
John Mitchell 2016-06-16 15:17:02 -04:00
parent 4791255350
commit 0fbc81eb71
2 changed files with 3 additions and 3 deletions

View File

@ -38,8 +38,8 @@ export default
defaultSearchField: true,
linkTo: '/#/jobs/{{job.id}}'
},
started: {
label: 'Started',
finished: {
label: 'Finished',
noLink: true,
searchable: false,
filter: "longDate",

View File

@ -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');
};