Add display of scores to the review list

This commit is contained in:
Christopher Neugebauer 2016-06-18 13:13:18 +10:00
parent 28592e352c
commit 47a6f212f2

View file

@ -40,6 +40,7 @@ def proposals_generator(request, queryset, user_pk=None, check_speaker=True):
ProposalResult.objects.get_or_create(proposal=obj) ProposalResult.objects.get_or_create(proposal=obj)
obj.comment_count = obj.result.comment_count obj.comment_count = obj.result.comment_count
obj.score = obj.result.score
obj.total_votes = obj.result.vote_count obj.total_votes = obj.result.vote_count
obj.plus_two = obj.result.plus_two obj.plus_two = obj.result.plus_two
obj.plus_one = obj.result.plus_one obj.plus_one = obj.result.plus_one