diff --git a/app/controllers/concerns/decidim/simple_proposal/proposals_controller_override.rb b/app/controllers/concerns/decidim/simple_proposal/proposals_controller_override.rb index 4915e9b..e5ece0d 100644 --- a/app/controllers/concerns/decidim/simple_proposal/proposals_controller_override.rb +++ b/app/controllers/concerns/decidim/simple_proposal/proposals_controller_override.rb @@ -25,8 +25,8 @@ def index @proposals = @base_query.includes(:component, :coauthorships) @all_geocoded_proposals = @base_query.geocoded - .where.not(latitude: Float::NAN) - .where.not(longitude: Float::NAN) + .where.not(latitude: Float::NAN) + .where.not(longitude: Float::NAN) @voted_proposals = if current_user ::Decidim::Proposals::ProposalVote.where(