mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Merge pull request #7162 from chrismeyersfsu/fix-6233
remove duplicate hosts from host_filter
This commit is contained in:
commit
8e9318e9d4
@ -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