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

Commit cd7919d

Browse files
authored
exclude assigned tasks from rss
1 parent 84c6421 commit cd7919d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

queries/get_software_studio_challenges_rss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ AND p.project_status_id IN (@project_status_id@)
1616
AND pcl.project_type_id IN (@project_type_id@)
1717
AND pp1.phase_status_id IN (@registration_phase_status@)
1818
AND p.project_category_id NOT IN (27, 37)
19+
AND not exists (select 1 from resource r, project_info pi82 where r.project_id = p.project_id and r.resource_role_id = 1 and p.project_id = pi82.project_id and project_info_type_id = 82 and pi82.value = 1) -- exclude assigned tasks
1920
ORDER BY challenge_id ASC

0 commit comments

Comments
 (0)