Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/api/internal/store/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (s *ModuleStore) StateDistributionByProject(ctx context.Context, projectID
FROM module_issues mi
JOIN issues i ON i.id = mi.issue_id AND i.deleted_at IS NULL
LEFT JOIN states st ON st.id = i.state_id
WHERE mi.project_id = ?
WHERE mi.project_id = ? AND mi.deleted_at IS NULL
GROUP BY mi.module_id, COALESCE(st."group", 'backlog')
`, projectID).Scan(&rows).Error
if err != nil {
Expand Down
Loading