diff --git a/app/models/poll/stats.rb b/app/models/poll/stats.rb index 5a166457e..7b5ed28e8 100644 --- a/app/models/poll/stats.rb +++ b/app/models/poll/stats.rb @@ -4,12 +4,13 @@ class Poll::Stats def self.stats_methods super + - %i[total_participants_web total_web_valid total_web_white total_web_null + %i[total_valid_votes total_white_votes total_null_votes + total_participants_web total_web_valid total_web_white total_web_null total_participants_booth total_booth_valid total_booth_white total_booth_null - total_valid_votes total_white_votes total_null_votes valid_percentage_web valid_percentage_booth - total_valid_percentage white_percentage_web white_percentage_booth total_white_percentage - null_percentage_web null_percentage_booth total_null_percentage total_participants_web_percentage - total_participants_booth_percentage] + total_participants_web_percentage total_participants_booth_percentage + valid_percentage_web valid_percentage_booth total_valid_percentage + white_percentage_web white_percentage_booth total_white_percentage + null_percentage_web null_percentage_booth total_null_percentage] end private