AC-203 no longer sorting jobs by Status when user clicks failed jobs link from Inventories page. Rows are now sorted by desc ID (which would be the same order as desc date btw).

This commit is contained in:
chouseknecht
2013-07-10 14:35:02 -04:00
parent f243bc7a80
commit 33512a9692
2 changed files with 7 additions and 8 deletions

View File

@@ -53,9 +53,9 @@ function JobsListCtrl ($scope, $rootScope, $location, $log, $routeParams, Rest,
scope.search(list.iterator);
// Called from Inventories page, failed jobs link. Now sort by status so faild jobs appear at top of list
if ($routeParams.order_by) {
scope.sort($routeParams.order_by);
}
//if ($routeParams.order_by) {
// scope.sort($routeParams.order_by);
//}
LoadBreadCrumbs();