Skip to content

Commit d5b64bf

Browse files
waynemsmithclaude
andcommitted
Fix search to be cross-board by default
search called defaultBoard() which injected the configured default board into every query, silently scoping results to a single board. This made --tag and --assignee filters appear broken when matching cards existed on other boards. Search should be cross-board by default — only scope to a board when --board is explicitly passed. Closes #113 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 79ca273 commit d5b64bf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

internal/commands/search.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ var searchCmd = &cobra.Command{
4242
params = append(params, "terms[]="+term)
4343
}
4444

45-
// Add optional filters
46-
boardID := defaultBoard(searchBoard)
47-
if boardID != "" {
48-
params = append(params, "board_ids[]="+boardID)
45+
// Add optional filters (search is cross-board by default;
46+
// only scope to a board when explicitly requested via --board)
47+
if searchBoard != "" {
48+
params = append(params, "board_ids[]="+searchBoard)
4949
}
5050
if searchTag != "" {
5151
params = append(params, "tag_ids[]="+searchTag)

0 commit comments

Comments
 (0)