Skip to content
Browse files

fixed bug on message builder issue contributions

  • Loading branch information...
1 parent 0d1ee2f commit 126918da0beac7b2cbda845f180eee9f598313f7 @aross aross committed
View
2 app/views/contact_congress_letters/_message_builder_issue_contribution_data.html.haml
@@ -4,7 +4,7 @@
%p.behave
Using all publicly-available data, the campaign contributions shown here are the ones OpenCongress automatically determines most-likely to be relevant to this issue.
- - if @issue.pvs_categories.any?
+ - if @issue.pvs_categories.collect{|pvs| pvs.crp_industries}.flatten.any?
%table
%thead
%tr
View
2 app/views/contact_congress_letters/new.html.haml
@@ -146,7 +146,7 @@
= tp.talking_point
= render 'will_add_text_box', :text => tp.talking_point
- - if @issue.pvs_categories.any?
+ - if @issue.pvs_categories.collect{|pvs| pvs.crp_industries}.flatten.any?
.section
%h3 Contribution Data
#contribution_data_container

0 comments on commit 126918d

Please sign in to comment.
Something went wrong with that request. Please try again.