mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 05:01:19 -03: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:
parent
15c5247f90
commit
f4cce01af0
@ -254,7 +254,7 @@ angular.module('EventViewerHelper', ['ModalDialog', 'Utilities', 'EventsViewerFo
|
||||
});
|
||||
|
||||
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({
|
||||
url: url,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user