Merge pull request #2463 from jlmitch5/portalSort

fix sorting of portal mode jobs list
This commit is contained in:
jlmitch5
2016-06-16 15:51:40 -04:00
committed by GitHub
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');
};