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

Commit e7cec27

Browse files
authored
Merge pull request #497 from appirio-tech/dev
fixed bug in task exclusion
2 parents fd95066 + ea66e85 commit e7cec27

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

queries/get_past_challenges_count

-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ AND pi1.project_info_type_id = 1
2020
and NVL(pp2.actual_end_time, pp2.scheduled_end_time) > '2012-01-01 00:00:00'
2121
AND pcl.project_category_id NOT IN (27, 37) --exclude when spec review was a 'contest.' Also exclude MM, which is in there as a 'software' contest.
2222
-- start of parameters
23-
2423
AND NVL(pp2.actual_end_time, pp2.scheduled_end_time) BETWEEN TO_DATE('@submission_end_from@ 00:00:00', '%Y-%m-%d %H:%M:%S') AND TO_DATE('@submission_end_to@ 23:59:59', '%Y-%m-%d %H:%M:%S')
25-
2624
AND LOWER(pn.value) LIKE ('@challenge_name@')
2725
AND NVL((SELECT pr.prize_amount FROM prize pr WHERE pr.project_id = p.project_id AND pr.prize_type_id = 15 AND pr.place = 1), 0) >= @prize_lower_bound@
2826
AND NVL((SELECT pr.prize_amount FROM prize pr WHERE pr.project_id = p.project_id AND pr.prize_type_id = 15 AND pr.place = 1), 0) <= @prize_upper_bound@

0 commit comments

Comments
 (0)