Skip to content

Commit fbe0ed8

Browse files
committed
Fix for Proposal dashboard bug
Fix to add conference in proposal dashboard Query.
1 parent a40b34a commit fbe0ed8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

junction/proposals/dashboard.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ def reviewer_comments_dashboard(request, conference_slug):
145145
by_conference.setdefault(id, [reviewers.reviewer, 0])
146146
by_conference[id][1] = ProposalComment.objects.filter(
147147
commenter=reviewers.reviewer,
148-
deleted=False, private=True).count()
148+
deleted=False, private=True,
149+
proposal__status=ProposalStatus.PUBLIC,
150+
proposal__conference=conference).count()
149151
# by_section is dict with
150152
# find each reviewers section and their comments
151153
# Need to rework on this code section to make it 1-2 loops

0 commit comments

Comments
 (0)