Skip to content
Snippets Groups Projects
Commit d90cff4a authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Limit the number of results to 5 in the table

parent ec489dad
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ class SubmissionListView(AllActivityContextMixin, BaseAdminSubmissionsTable):
table_pagination = False
def get_queryset(self):
return super().get_queryset()[:10]
return super().get_queryset()[:5]
def get_context_data(self, **kwargs):
base_query = RoundsAndLabs.objects.with_progress().active().order_by('-end_date')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment