import / fix --> unions list / paginate orgs list in rancher link
This commit is contained in:
@@ -303,9 +303,10 @@ class RancherOrganizationLinkViewSet(
|
||||
list of organizations with rancher information
|
||||
"""
|
||||
org = get_organization_by_user(request.user)
|
||||
result = self.orgs_linked_rancher(org=org)
|
||||
result = self.orgs_linked_rancher(org=org, org_type_key='CO')
|
||||
|
||||
return Response(result)
|
||||
page = self.paginate_queryset(result) # paginate queryset
|
||||
return self.get_paginated_response(result)
|
||||
|
||||
@action(
|
||||
methods=['get'],
|
||||
|
||||
Reference in New Issue
Block a user