Skip to content

Commit

Permalink
Merge pull request #101 from sparc-request/sj_report_fix
Browse files Browse the repository at this point in the history
tweak to report query
  • Loading branch information
amcates committed Nov 11, 2015
2 parents e48e98f + 055d7ad commit 87cef73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reports/project_summary_report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def generate(document)
protocol.arms.each do |arm|
visit_groups = arm.visit_groups
visit_group_subtotals = [0] * visit_groups.count # total costs for each visit group
participants = Participant.find(arm.appointments.group_by(&:participant_id).keys)
participants = arm.participants
participant_totals = [] # totals per participant

csv << [""]
Expand Down

0 comments on commit 87cef73

Please sign in to comment.