mirror of
https://github.com/ansible/awx.git
synced 2026-04-11 04:59:22 -02:30
Job detail event viewer
Fixed https://trello.com/c/uGFQjYn0/323-host-event-order-differs-between-host-events-list-and-host-event-dialog. Not sure why the event viewer sort was by ID rather than host_name. The reason might be that up until about 3 weeks ago the host_name could be empty, if a host was deleted.
This commit is contained in:
@@ -254,7 +254,7 @@ angular.module('EventViewerHelper', ['ModalDialog', 'Utilities', 'EventsViewerFo
|
|||||||
});
|
});
|
||||||
|
|
||||||
url += (/\/$/.test(url)) ? '?' : '&';
|
url += (/\/$/.test(url)) ? '?' : '&';
|
||||||
url += (parent_id) ? 'parent=' + parent_id + '&page_size=50&order_by=id' : 'page_size=50&order_by=id';
|
url += (parent_id) ? 'parent=' + parent_id + '&page_size=50&order=host_name' : 'page_size=50&order=host_name';
|
||||||
|
|
||||||
GetEvent({
|
GetEvent({
|
||||||
url: url,
|
url: url,
|
||||||
|
|||||||
Reference in New Issue
Block a user