Skip to content

Commit

Permalink
fixed bug in task exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
ajefts committed Mar 13, 2017
1 parent 5828550 commit ea66e85
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions queries/get_past_challenges_count
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ AND pi1.project_info_type_id = 1
and NVL(pp2.actual_end_time, pp2.scheduled_end_time) > '2012-01-01 00:00:00'
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.
-- start of parameters

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')

AND LOWER(pn.value) LIKE ('@challenge_name@')
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@
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@
Expand Down

0 comments on commit ea66e85

Please sign in to comment.