Skip to content

Commit

Permalink
advanced serching count changed from 10 to 30 (#401)
Browse files Browse the repository at this point in the history
* advanced serching count changed from 10 to 30
  • Loading branch information
DhaaraniCIT authored Mar 31, 2023
1 parent dcaf64a commit f1b5be5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/quickbooks_online/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]



Expand Down
2 changes: 1 addition & 1 deletion tests/test_quickbooks_online/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f1b5be5

Please sign in to comment.