Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kobo/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ def __init__(self, *args, **kwargs):

# Impose a limit on the number of records returned by the submission list
# endpoint. This overrides any `?limit=` query parameter sent by a client
SUBMISSION_LIST_LIMIT = 30000
SUBMISSION_LIST_LIMIT = 1000

# uWSGI, NGINX, etc. allow only a limited amount of time to process a request.
# Set this value to match their limits
Expand Down
2 changes: 1 addition & 1 deletion kpi/paginators.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class DataPagination(LimitOffsetPagination):
"""
Pagination class for submissions.
"""
default_limit = settings.SUBMISSION_LIST_LIMIT
default_limit = 100
offset_query_param = 'start'
max_limit = settings.SUBMISSION_LIST_LIMIT

Expand Down