Skip to content

Commit fd6c242

Browse files
committed
Change pending candidates view
1 parent 0b8fc8b commit fd6c242

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

backend/hub/views.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def get_candidates_to_vote(cls):
590590
)
591591

592592
@classmethod
593-
def get_candidates_pending(cls):
593+
def get_candidates_proposed(cls):
594594
return (
595595
Candidate.objects_with_org.filter(
596596
org__status=Organization.STATUS.accepted,
@@ -609,7 +609,7 @@ def get_qs(self):
609609
if FeatureFlag.flag_enabled(PHASE_CHOICES.enable_results_display):
610610
return Candidate.objects_with_org.none()
611611

612-
return self.get_candidates_pending()
612+
return self.get_candidates_proposed()
613613

614614
def get_queryset(self):
615615
qs = self.search(self.get_qs())
@@ -659,7 +659,7 @@ class CandidatesAllListView(CandidateListView):
659659
template_name = "hub/candidate/all.html"
660660

661661
def get_queryset(self):
662-
qs = self.search(self.get_candidates_pending())
662+
qs = self.search(self.get_candidates_proposed())
663663

664664
filters = {name: self.request.GET[name] for name in self.allow_filters if self.request.GET.get(name)}
665665

0 commit comments

Comments
 (0)