1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

Default to descending order on job view toggle

This commit is contained in:
Ken Hoes 2016-07-07 14:17:28 -04:00
parent a0dedaeab5
commit 5b76df4d7f

View File

@ -52,17 +52,16 @@ export function PortalModeJobsController($scope, $rootScope, GetBasePath, Genera
};
$scope.filterUser = function(){
$scope.activeFilter = 'user';
defaultUrl = GetBasePath('jobs') + '?created_by=' + $rootScope.current_user.id;
init();
init(true);
};
$scope.filterAll = function(){
$scope.activeFilter = 'all';
defaultUrl = GetBasePath('jobs');
init();
init(true);
};
$scope.refresh = function(){