mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -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:
@@ -35,7 +35,7 @@
|
|||||||
};
|
};
|
||||||
var init = function(){
|
var init = function(){
|
||||||
Wait('start');
|
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){
|
.success(function(res){
|
||||||
$scope.hosts = res.results;
|
$scope.hosts = res.results;
|
||||||
$scope.next = res.next;
|
$scope.next = res.next;
|
||||||
@@ -114,7 +114,8 @@
|
|||||||
var getAll = function(){
|
var getAll = function(){
|
||||||
Wait('start');
|
Wait('start');
|
||||||
JobDetailService.getJobHostSummaries($stateParams.id, {
|
JobDetailService.getJobHostSummaries($stateParams.id, {
|
||||||
page_size: page_size
|
page_size: page_size,
|
||||||
|
order_by: 'host_name'
|
||||||
}).success(function(res){
|
}).success(function(res){
|
||||||
Wait('stop');
|
Wait('stop');
|
||||||
$scope.hosts = res.results;
|
$scope.hosts = res.results;
|
||||||
@@ -125,7 +126,8 @@
|
|||||||
Wait('start');
|
Wait('start');
|
||||||
JobDetailService.getJobHostSummaries($stateParams.id, {
|
JobDetailService.getJobHostSummaries($stateParams.id, {
|
||||||
page_size: page_size,
|
page_size: page_size,
|
||||||
failed: true
|
failed: true,
|
||||||
|
order_by: 'host_name'
|
||||||
}).success(function(res){
|
}).success(function(res){
|
||||||
Wait('stop');
|
Wait('stop');
|
||||||
$scope.hosts = res.results;
|
$scope.hosts = res.results;
|
||||||
|
|||||||
Reference in New Issue
Block a user