From d90cff4a82fd8954132df4349aa11f097a30b553 Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Wed, 23 Jan 2019 18:15:03 +0000
Subject: [PATCH] Limit the number of results to 5 in the table

---
 opentech/apply/funds/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opentech/apply/funds/views.py b/opentech/apply/funds/views.py
index 4cfdd0d6e..df9c8a1eb 100644
--- a/opentech/apply/funds/views.py
+++ b/opentech/apply/funds/views.py
@@ -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')
-- 
GitLab