Direct reviewers to the controversial talks instead of the indifferent talks

This commit is contained in:
Christopher Neugebauer 2016-08-17 07:35:46 +10:00
parent 7b6843ca1e
commit 07198b2ecf

View file

@ -205,12 +205,12 @@ def review_random_proposal(request, section_slug):
# Direct reviewers to underreviewed proposals # Direct reviewers to underreviewed proposals
too_few_set = REVIEW_STATUS_FILTERS[TOO_FEW](queryset) too_few_set = REVIEW_STATUS_FILTERS[TOO_FEW](queryset)
indifferent_set = REVIEW_STATUS_FILTERS[INDIFFERENT](queryset) controversial_set = REVIEW_STATUS_FILTERS[CONTROVERSIAL](queryset)
if len(too_few_set) > 0: if len(too_few_set) > 0:
queryset = too_few_set queryset = too_few_set
elif len(indifferent_set) > 0: elif len(controversial_set) > 0:
queryset = indifferent_set queryset = controversial_set
# Realistically, there shouldn't be all that many proposals to choose # Realistically, there shouldn't be all that many proposals to choose
# from, so this should be cheap. # from, so this should be cheap.