File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def me(request):
9595 INNER JOIN commitfest_patch p ON p.id = poc.patch_id
9696 INNER JOIN commitfest_patchstatus ps ON ps.status=poc.status
9797 WHERE
98- ps.statusstatus = ANY(%(openstatuses)s)
98+ ps.status = ANY(%(openstatuses)s)
9999 AND (
100100 EXISTS (
101101 SELECT 1 FROM commitfest_patch_reviewers cpr WHERE cpr.patch_id=p.id AND cpr.user_id=%(user_id)s
@@ -108,11 +108,7 @@ def me(request):
108108 GROUP BY ps.status ORDER BY ps.sortkey""" ,
109109 {
110110 "user_id" : request .user .id ,
111- "patch_stat_committed" : PatchOnCommitFest .STATUS_COMMITTED ,
112- "patch_stat_rejected" : PatchOnCommitFest .STATUS_REJECTED ,
113- "patch_stat_withdrawn" : PatchOnCommitFest .STATUS_WITHDRAWN ,
114- "patch_stat_nextcf" : PatchOnCommitFest .STATUS_NEXT ,
115- "patch_stat_retwfdb" : PatchOnCommitFest .STATUS_RETURNED ,
111+ "openstatuses" : PatchOnCommitFest .OPEN_STATUSES ,
116112 },
117113 )
118114 statussummary = curs .fetchall ()
You can’t perform that action at this time.
0 commit comments