Skip to content

Commit

Permalink
Fix recreate_conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
skarya22 committed Oct 15, 2024
1 parent 2787cff commit 4d02c92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/recreate_conflicts.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
FROM flag
JOIN session s ON (s.ID=flag.SessionID)
JOIN candidate c ON (c.CandID=s.CandID)
JOIN test_names tn on tn.ID = flag.TestID
WHERE Test_name=:testname AND CommentID
NOT LIKE 'DDE%' AND s.Active='Y'
AND c.Active='Y'",
Expand All @@ -80,7 +81,8 @@
FROM flag sde
JOIN session s ON (s.ID=sde.SessionID)
JOIN candidate c ON (c.CandID=s.CandID)
WHERE sde.Test_name=:testname AND sde.CommentID
JOIN test_names tn ON (tn.ID = sde.TestID)
WHERE tn.Test_name=:testname AND sde.CommentID
NOT LIKE 'DDE%' AND sde.Data_entry='Complete'
AND s.Active='Y' AND c.Active='Y'
AND EXISTS (SELECT 'x' FROM flag dde WHERE
Expand Down

0 comments on commit 4d02c92

Please sign in to comment.