diff --git a/apps/quickbooks_online/views.py b/apps/quickbooks_online/views.py index 4b257893..4eb9665f 100644 --- a/apps/quickbooks_online/views.py +++ b/apps/quickbooks_online/views.py @@ -953,7 +953,7 @@ def get_queryset(self): if active and active.lower() == 'true': filters['active'] = True - return DestinationAttribute.objects.filter(**filters).order_by('value')[:10] + return DestinationAttribute.objects.filter(**filters).order_by('value')[:30] diff --git a/tests/test_quickbooks_online/test_views.py b/tests/test_quickbooks_online/test_views.py index 858b33d1..a3c8529b 100644 --- a/tests/test_quickbooks_online/test_views.py +++ b/tests/test_quickbooks_online/test_views.py @@ -63,7 +63,7 @@ def test_searched_destination_attributes_view(api_client, test_connection): }) assert response.status_code == 200 response = json.loads(response.content) - assert len(response) == 10 + assert len(response) == 29 def test_qbo_attributes_view(api_client, test_connection):