diff --git a/app/models/pame_evaluation.rb b/app/models/pame_evaluation.rb index 1ad02e853..d417c2b14 100644 --- a/app/models/pame_evaluation.rb +++ b/app/models/pame_evaluation.rb @@ -245,7 +245,7 @@ def self.generate_csv(where_statement, restricted_where_statement) GROUP BY pame_evaluations.id, protected_areas.wdpa_id, protected_areas.name, designation, pame_sources.data_title, pame_sources.resp_party, pame_sources.year, pame_sources.language - UNION + /* UNION SELECT pame_evaluations.id AS id, pame_evaluations.metadata_id AS metadata_id, @@ -267,6 +267,7 @@ def self.generate_csv(where_statement, restricted_where_statement) #{restricted_where_statement} GROUP BY pame_evaluations.id, wdpa_id, pame_evaluations.name, designation, pame_sources.data_title, pame_sources.resp_party, pame_sources.year, pame_sources.language; + */ SQL evaluations = ActiveRecord::Base.connection.execute(query)