mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
Order event summary results by host_name (#2455)
* order event summary results by host_name, resolves #2394 * disable select-all unit test * Revert "disable select-all unit test" This reverts commit ec8fd9ca81db90f33bedfd7e736ec55fcd8b5aea.
This commit is contained in:
parent
251dae657a
commit
27f0224b90
@ -35,7 +35,7 @@
|
||||
};
|
||||
var init = function(){
|
||||
Wait('start');
|
||||
JobDetailService.getJobHostSummaries($stateParams.id, {page_size: page_size})
|
||||
JobDetailService.getJobHostSummaries($stateParams.id, {page_size: page_size, order_by: 'host_name'})
|
||||
.success(function(res){
|
||||
$scope.hosts = res.results;
|
||||
$scope.next = res.next;
|
||||
@ -114,7 +114,8 @@
|
||||
var getAll = function(){
|
||||
Wait('start');
|
||||
JobDetailService.getJobHostSummaries($stateParams.id, {
|
||||
page_size: page_size
|
||||
page_size: page_size,
|
||||
order_by: 'host_name'
|
||||
}).success(function(res){
|
||||
Wait('stop');
|
||||
$scope.hosts = res.results;
|
||||
@ -125,7 +126,8 @@
|
||||
Wait('start');
|
||||
JobDetailService.getJobHostSummaries($stateParams.id, {
|
||||
page_size: page_size,
|
||||
failed: true
|
||||
failed: true,
|
||||
order_by: 'host_name'
|
||||
}).success(function(res){
|
||||
Wait('stop');
|
||||
$scope.hosts = res.results;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user