Skip to content

Commit d716195

Browse files
destrex271JelteF
andauthored
make stats query consistent
Co-authored-by: Jelte Fennema-Nio <[email protected]>
1 parent 75b5fb4 commit d716195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgcommitfest/commitfest/views.py

+1-1
Original file line numberDiff line numberDiff 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.status NOT IN ( %(patch_stat_committed)s, %(patch_stat_rejected)s, %(patch_stat_withdrawn)s, %(patch_stat_nextcf)s, %(patch_stat_retwfdb)s )
98+
ps.statusstatus = 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

0 commit comments

Comments
 (0)