fix: convoy TUI uses wrong column name for dependency type
The TUI query used 'dependency_type' but the actual column is 'type'. This caused expand to show nothing when pressing Enter on a convoy. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -139,7 +139,7 @@ func loadTrackedIssues(townBeads, convoyID string) ([]IssueItem, int, int) {
|
|||||||
query := fmt.Sprintf(`
|
query := fmt.Sprintf(`
|
||||||
SELECT d.depends_on_id
|
SELECT d.depends_on_id
|
||||||
FROM dependencies d
|
FROM dependencies d
|
||||||
WHERE d.issue_id = '%s' AND d.dependency_type = 'tracks'
|
WHERE d.issue_id = '%s' AND d.type = 'tracks'
|
||||||
`, convoyID)
|
`, convoyID)
|
||||||
|
|
||||||
cmd := exec.CommandContext(ctx, "sqlite3", "-json", dbPath, query)
|
cmd := exec.CommandContext(ctx, "sqlite3", "-json", dbPath, query)
|
||||||
|
|||||||
Reference in New Issue
Block a user