diff --git a/actions/rss.js b/actions/rss.js index f00da3fef..766d25123 100644 --- a/actions/rss.js +++ b/actions/rss.js @@ -79,17 +79,10 @@ function getChallengesRSS(api, connection, next) { challengeType: row.challenge_type.trim(), challengeName: row.challenge_name, challengeId: row.challenge_id, - detailedRequirements: row.detailed_requirements || '', registrationStartDate: row.registration_start_date, challengeCommunity: row.challenge_community, projectId: row.project_id }; - if (_.isDefined(row.software_detailed_requirements)) { - res.detailedRequirements = row.software_detailed_requirements || ''; - } - if (_.isDefined(row.studio_detailed_requirements)) { - res.detailedRequirements = row.studio_detailed_requirements || ''; - } if (row.project_type_id === helper.studio.category[0]) { res.challengeCommunity = helper.studio.community; } else { diff --git a/queries/get_open_data_challenges_rss b/queries/get_open_data_challenges_rss index 6d3d6bd37..5c5082356 100644 --- a/queries/get_open_data_challenges_rss +++ b/queries/get_open_data_challenges_rss @@ -2,7 +2,6 @@ SELECT FIRST @page_size@ r.round_id AS challenge_id , ct.name AS challenge_name -, ct.name AS detailed_requirements , 'marathon' AS challenge_type , 'data' AS challenge_community , reg.start_time AS registration_start_date diff --git a/queries/get_past_data_challenges_rss b/queries/get_past_data_challenges_rss index 2284a1e20..c3b37f002 100644 --- a/queries/get_past_data_challenges_rss +++ b/queries/get_past_data_challenges_rss @@ -6,7 +6,6 @@ FROM SELECT 'marathon' AS challenge_type , c.name AS challenge_name - , c.name AS detailed_requirements , r.round_id AS challenge_id , "data" AS challenge_community , c.start_date AS registration_start_date @@ -28,7 +27,6 @@ FROM SELECT 'algorithm' AS challenge_type , r.short_name AS challenge_name - , r.short_name AS detailed_requirements , r.round_id AS challenge_id , "data" AS challenge_community , c.start_date AS registration_start_date diff --git a/queries/get_software_studio_challenges_rss b/queries/get_software_studio_challenges_rss index b0aa8a552..ad49d3bc6 100644 --- a/queries/get_software_studio_challenges_rss +++ b/queries/get_software_studio_challenges_rss @@ -4,8 +4,6 @@ FIRST @page_size@ , pi.value AS challenge_name , p.project_id AS challenge_id , p.tc_direct_project_id AS project_id -, ps.detailed_requirements_text AS software_detailed_requirements -, sps.contest_description_text AS studio_detailed_requirements , NVL(pp1.actual_start_time, pp1.scheduled_start_time) AS registration_start_date , pcl.project_type_id FROM project p @@ -13,8 +11,6 @@ INNER JOIN project_category_lu pcl ON pcl.project_category_id = p.project_catego INNER JOIN project_info pi1 ON pi1.project_id = p.project_id AND pi1.project_info_type_id = 1 INNER JOIN project_info pi ON pi.project_info_type_id = 6 AND p.project_id = pi.project_id INNER JOIN project_phase pp1 ON pp1.project_id = p.project_id AND pp1.phase_type_id = 1 -LEFT JOIN project_spec ps ON ps.project_id = p.project_id and ps.version = (select max(version) from project_spec where project_id = p.project_id) -LEFT JOIN project_studio_specification sps ON sps.project_studio_spec_id = p.project_studio_spec_id WHERE 1=1 AND p.project_status_id IN (@project_status_id@) AND pcl.project_type_id IN (@project_type_id@)