mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 05:30:18 -03:30
jobs/<id>/job_events?search= searches stdout field
This commit is contained in:
committed by
Matthew Jones
parent
0046421f05
commit
1fc40d38c7
@@ -3503,6 +3503,7 @@ class BaseJobEventsList(SubListAPIView):
|
||||
parent_model = None # Subclasses must define this attribute.
|
||||
relationship = 'job_events'
|
||||
view_name = _('Job Events List')
|
||||
search_fields = ('stdout',)
|
||||
|
||||
def finalize_response(self, request, response, *args, **kwargs):
|
||||
response['X-UI-Max-Events'] = settings.RECOMMENDED_MAX_EVENTS_DISPLAY_HEADER
|
||||
|
||||
Reference in New Issue
Block a user