From 2192074719e65575f6568eb593f1a9b4ed713f4c Mon Sep 17 00:00:00 2001 From: Vaibhav Mule <vaibhavmule135@gmail.com> Date: Tue, 12 May 2020 20:38:06 +0530 Subject: [PATCH] refactor draft status in submission table --- hypha/apply/funds/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypha/apply/funds/views.py b/hypha/apply/funds/views.py index 4871ae7c1..75546936b 100644 --- a/hypha/apply/funds/views.py +++ b/hypha/apply/funds/views.py @@ -333,7 +333,7 @@ class SubmissionOverviewView(BaseAdminSubmissionsTable): def get_table_data(self): limit = 5 - return super().get_table_data().exclude(status='draft').order_by(F('last_update').desc(nulls_last=True))[:limit] + return super().get_table_data().order_by(F('last_update').desc(nulls_last=True))[:limit] def get_context_data(self, **kwargs): limit = 6 -- GitLab