effective_polls 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f66e30b255f3552e0c56f6c7b6b4fa7958360f4a6b59cd77d30e829105444491
|
4
|
+
data.tar.gz: 8950bced702e1ca99e324449238156880b3659a542838fb761fe1291d492109d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83401587a66ec82a26a108575e90c9e7cfea3ad0fdfebce30179d31ef392467ba6549bdfdcbe51ee56e3a009dc1232eaf2f03ade8e6454bebd5c5002e1b3d8b4
|
7
|
+
data.tar.gz: 1f208285019d5b8cec81fa03a53c0106ac86119206549589049e3eeaec51d49726dceb9e624a1fd0fbbcba1bff030b66936d260c97fde61e42f8742651d7d310
|
@@ -10,7 +10,7 @@ class Admin::EffectivePollResultsDatatable < Effective::Datatable
|
|
10
10
|
end
|
11
11
|
|
12
12
|
collection do
|
13
|
-
ballot_responses = Effective::BallotResponse.completed.deep.where(poll: poll)
|
13
|
+
ballot_responses = Effective::BallotResponse.completed.deep.where(poll: poll, poll_question: poll.poll_questions)
|
14
14
|
|
15
15
|
ballot_responses.flat_map do |br|
|
16
16
|
rows = if br.poll_question.poll_question_option?
|