mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
M2M fix for project activity stream
This commit is contained in:
parent
b6ec87f18a
commit
25c177cdcd
@ -1040,7 +1040,7 @@ class ProjectActivityStreamList(SubListAPIView):
|
||||
return qs
|
||||
elif parent.credential is None:
|
||||
return qs.filter(project=parent)
|
||||
return qs.filter(Q(project=parent) | Q(credential__in=parent.credential))
|
||||
return qs.filter(Q(project=parent) | Q(credential=parent.credential))
|
||||
|
||||
class ProjectNotificationTemplatesAnyList(SubListCreateAttachDetachAPIView):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user