fix(sling): don't show closed convoy tracking
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -42,6 +42,7 @@ func isTrackedByConvoy(beadID string) string {
|
|||||||
JOIN issues i ON d.issue_id = i.id
|
JOIN issues i ON d.issue_id = i.id
|
||||||
WHERE d.type = 'tracks'
|
WHERE d.type = 'tracks'
|
||||||
AND i.issue_type = 'convoy'
|
AND i.issue_type = 'convoy'
|
||||||
|
AND i.status = 'open'
|
||||||
AND (d.depends_on_id = '%s' OR d.depends_on_id LIKE '%%:%s')
|
AND (d.depends_on_id = '%s' OR d.depends_on_id LIKE '%%:%s')
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
`, beadID, beadID)
|
`, beadID, beadID)
|
||||||
|
|||||||
Reference in New Issue
Block a user