Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 0cea666

Browse files
committed
Merge pull request #390 from cloudspokes/thabo-I-141155-remove-detailed-reqs-from-RSS
I-141155 drop detailed requirements from rss
2 parents d11cc84 + faf67ef commit 0cea666

File tree

4 files changed

+0
-14
lines changed

4 files changed

+0
-14
lines changed

actions/rss.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,10 @@ function getChallengesRSS(api, connection, next) {
7979
challengeType: row.challenge_type.trim(),
8080
challengeName: row.challenge_name,
8181
challengeId: row.challenge_id,
82-
detailedRequirements: row.detailed_requirements || '',
8382
registrationStartDate: row.registration_start_date,
8483
challengeCommunity: row.challenge_community,
8584
projectId: row.project_id
8685
};
87-
if (_.isDefined(row.software_detailed_requirements)) {
88-
res.detailedRequirements = row.software_detailed_requirements || '';
89-
}
90-
if (_.isDefined(row.studio_detailed_requirements)) {
91-
res.detailedRequirements = row.studio_detailed_requirements || '';
92-
}
9386
if (row.project_type_id === helper.studio.category[0]) {
9487
res.challengeCommunity = helper.studio.community;
9588
} else {

queries/get_open_data_challenges_rss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ SELECT
22
FIRST @page_size@
33
r.round_id AS challenge_id
44
, ct.name AS challenge_name
5-
, ct.name AS detailed_requirements
65
, 'marathon' AS challenge_type
76
, 'data' AS challenge_community
87
, reg.start_time AS registration_start_date

queries/get_past_data_challenges_rss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ FROM
66
SELECT
77
'marathon' AS challenge_type
88
, c.name AS challenge_name
9-
, c.name AS detailed_requirements
109
, r.round_id AS challenge_id
1110
, "data" AS challenge_community
1211
, c.start_date AS registration_start_date
@@ -28,7 +27,6 @@ FROM
2827
SELECT
2928
'algorithm' AS challenge_type
3029
, r.short_name AS challenge_name
31-
, r.short_name AS detailed_requirements
3230
, r.round_id AS challenge_id
3331
, "data" AS challenge_community
3432
, c.start_date AS registration_start_date

queries/get_software_studio_challenges_rss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@ FIRST @page_size@
44
, pi.value AS challenge_name
55
, p.project_id AS challenge_id
66
, p.tc_direct_project_id AS project_id
7-
, ps.detailed_requirements_text AS software_detailed_requirements
8-
, sps.contest_description_text AS studio_detailed_requirements
97
, NVL(pp1.actual_start_time, pp1.scheduled_start_time) AS registration_start_date
108
, pcl.project_type_id
119
FROM project p
1210
INNER JOIN project_category_lu pcl ON pcl.project_category_id = p.project_category_id
1311
INNER JOIN project_info pi1 ON pi1.project_id = p.project_id AND pi1.project_info_type_id = 1
1412
INNER JOIN project_info pi ON pi.project_info_type_id = 6 AND p.project_id = pi.project_id
1513
INNER JOIN project_phase pp1 ON pp1.project_id = p.project_id AND pp1.phase_type_id = 1
16-
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)
17-
LEFT JOIN project_studio_specification sps ON sps.project_studio_spec_id = p.project_studio_spec_id
1814
WHERE 1=1
1915
AND p.project_status_id IN (@project_status_id@)
2016
AND pcl.project_type_id IN (@project_type_id@)

0 commit comments

Comments
 (0)