mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-14 15:58:38 -05:00
AC-331 final clean up
This commit is contained in:
@@ -50,6 +50,11 @@ function JobsListCtrl ($scope, $rootScope, $location, $log, $routeParams, Rest,
|
||||
scope[list.iterator + 'SearchValue'] = $routeParams['inventory__int'];
|
||||
scope[list.iterator + 'SearchFieldLabel'] = 'Inventory ID';
|
||||
}
|
||||
if ($routeParams['id__int']) {
|
||||
scope[list.iterator + 'SearchField'] = 'id';
|
||||
scope[list.iterator + 'SearchValue'] = $routeParams['id__int'];
|
||||
scope[list.iterator + 'SearchFieldLabel'] = 'Job ID';
|
||||
}
|
||||
scope.search(list.iterator);
|
||||
|
||||
// Called from Inventories page, failed jobs link. Now sort by status so faild jobs appear at top of list
|
||||
|
||||
Reference in New Issue
Block a user