mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 02:01:01 -03:30
get job events based on job creation date
This commit is contained in:
@@ -3815,7 +3815,7 @@ class JobJobEventsList(BaseJobEventsList):
|
|||||||
def get_queryset(self):
|
def get_queryset(self):
|
||||||
job = self.get_parent_object()
|
job = self.get_parent_object()
|
||||||
self.check_parent_access(job)
|
self.check_parent_access(job)
|
||||||
qs = job.job_events.select_related('host').order_by('start_line')
|
qs = job.job_events.select_related('host').filter(job_created=job.created).order_by('start_line')
|
||||||
return qs.all()
|
return qs.all()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user