mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
remove duplicate hosts from host_filter
This commit is contained in:
parent
f31cec2848
commit
22e4957698
@ -1917,7 +1917,7 @@ class HostList(ListCreateAPIView):
|
||||
if filter_string:
|
||||
filter_qs = SmartFilter.query_from_string(filter_string)
|
||||
qs &= filter_qs
|
||||
return qs
|
||||
return qs.distinct()
|
||||
|
||||
def list(self, *args, **kwargs):
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user