mirror of
https://github.com/ansible/awx.git
synced 2024-10-28 02:25:27 +03:00
set all_pages to True by default in get_method
This commit is contained in:
parent
eb2fca86b6
commit
44986fad36
@ -186,7 +186,7 @@ class ApiV2(base.Base):
|
||||
return endpoint.get(id=int(value))
|
||||
options = self._cache.get_options(endpoint)
|
||||
identifier = next(field for field in options['search_fields'] if field in ('name', 'username', 'hostname'))
|
||||
return endpoint.get(**{identifier: value},all_pages=True)
|
||||
return endpoint.get(**{identifier: value}, all_pages=True)
|
||||
|
||||
def export_assets(self, **kwargs):
|
||||
self._cache = page.PageCache()
|
||||
|
Loading…
Reference in New Issue
Block a user