Skip to content

Fix the QA Stage Query which was including all challenges #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions tco_setup/tco20_eligible_contests.sql
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ LEFT OUTER JOIN project_info pi82 ON pi82.project_id = p.project_id and pi82.pro
WHERE p.project_status_id = 1
and
(
-- p.project_category_id in (9,13) -- include Bug Hunt and Test Suites always
--p.project_category_id in (9,13,38,40) -- include Bug Hunt and Test Suites always, adding f2f and df2f
p.project_category_id in (9,13,37,38,39,40) --including bug hunt,test suits,Marathon,f2f,code,df2f
p.project_category_id in (9,13) -- include Bug Hunt and Test Suites always
OR
exists (SELECT 1 FROM comp_technology
WHERE comp_vers_id = pi1.value AND technology_type_id = 78) -- if the challlenge is tagged as QA
Expand All @@ -123,9 +121,7 @@ LEFT OUTER JOIN project_info pi82 ON pi82.project_id = p.project_id and pi82.pro
WHERE p.project_status_id = 1
and
(
-- p.project_category_id in (9,13) -- include Bug Hunt and Test Suites always
--p.project_category_id in (9,13,38,40) -- include Bug Hunt and Test Suites always, adding f2f and df2f
p.project_category_id in (9,13,37,38,39,40) --including bug hunt,test suits,Marathon,f2f,code,df2f
p.project_category_id in (9,13) -- include Bug Hunt and Test Suites always
OR
exists (SELECT 1 FROM comp_technology
WHERE comp_vers_id = pi1.value
Expand Down Expand Up @@ -153,9 +149,7 @@ LEFT OUTER JOIN project_info pi82 ON pi82.project_id = p.project_id and pi82.pro
WHERE p.project_status_id = 1
and
(
-- p.project_category_id in (9,13) -- include Bug Hunt and Test Suites always
--p.project_category_id in (9,13,38,40) -- include Bug Hunt and Test Suites always, adding f2f and df2f
p.project_category_id in (9,13,37,38,39,40) --including bug hunt,test suits,Marathon,f2f,code,df2f
p.project_category_id in (9,13) -- include Bug Hunt and Test Suites always
OR
exists (SELECT 1 FROM comp_technology
WHERE comp_vers_id = pi1.value
Expand Down