fix: bd list --status all showing 0 issues (bd-148)

The status filter was treating 'all' as a literal status value instead of
a special case meaning 'show all statuses'. This caused the SQL query to
filter for 'WHERE status = all' which matched no issues.

Fixed by checking if status is 'all' and skipping the filter in that case.

- Fix list.go to skip status filter when status == 'all'
- Update CHANGELOG with fix details
- All tests pass
This commit is contained in:
Steve Yegge
2025-10-17 21:56:03 -07:00
parent ee94d817ed
commit c17174b80a
3 changed files with 10 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ var listCmd = &cobra.Command{
filter := types.IssueFilter{
Limit: limit,
}
if status != "" {
if status != "" && status != "all" {
s := types.Status(status)
filter.Status = &s
}