Fix search to be cross-board by default
Merged
WA
7mo ago+80+80+01234567890123456789-4-4-0123456789
Summary
searchcalleddefaultBoard()which injected the configured default board into every query, silently scoping results to a single board- This made
--tagand--assigneefilters appear broken when matching cards existed on other boards - Fix: only add
board_ids[]when--boardis explicitly passed
Closes #113
Test plan
-
go test ./internal/commands/ -run TestSearchโ all 6 existing tests pass - Manual:
fizzy search "" --tag TAG_ID --allreturns cards across all boards - Manual:
fizzy search "query" --board BOARD_IDstill scopes correctly when explicit
๐ค Generated with Claude Code
Summary by cubic
Search is now cross-board by default. We removed the implicit default board so results include cards from all boards unless --board is set.
- Bug Fixes
- Added tests to ensure no implicit board scope and to assert call count before indexing; removed redundant
searchBoardassignments in tests. - Confirmed
--tagand--assigneefilters work cross-board and do not injectboard_ids[]unless--boardis passed.
- Added tests to ensure no implicit board scope and to assert call count before indexing; removed redundant