Skip to content

Commit

Permalink
Fix the candidate counter
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Nov 20, 2024
1 parent 0ee2120 commit c5ea25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/hub/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def get_queryset(self):
def _get_candidate_counters(self):
candidates = self.get_qs()
return {
"candidates_pending": candidates.filter(status=Candidate.STATUS.pending).count(),
"candidates_pending": candidates.filter(is_proposed=True).count(),
}

def get_context_data(self, **kwargs):
Expand Down

0 comments on commit c5ea25f

Please sign in to comment.