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: aebcfa6f3efd89aa11a576d324f53b5d1438b94c8f71d2253c307898f600abef
4
- data.tar.gz: c93f89535c8d5938d1025cf106f0a914b395e8b45c6992d48a02b9dd4a4465af
3
+ metadata.gz: f66e30b255f3552e0c56f6c7b6b4fa7958360f4a6b59cd77d30e829105444491
4
+ data.tar.gz: 8950bced702e1ca99e324449238156880b3659a542838fb761fe1291d492109d
5
5
  SHA512:
6
- metadata.gz: 787542d8c6ef91a83f68eded3aaf00455b36342e5e54a0572869d3d31588d307d2e2c0c96520560b77487227925b41927404b8622bf891bb422c89ca187c6ed7
7
- data.tar.gz: 48a308bcaa45d2a478f918c5fa714aa870581a6ec572a5f08489550ce30740272ac1386668e0c3500b4567e789bc987790f46504a666700cc668ae7053e65059
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?
@@ -1,3 +1,3 @@
1
1
  module EffectivePolls
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_polls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect