matcha
matcha copied to clipboard
BUG: Off-by-one in contact search result truncation
Describe the bug Contact search at config/cache.go:233 uses > 5 instead of >= 5 for truncation. Edge case with exactly 6 matches behaves unexpectedly.
To reproduce
- Search contacts that match exactly 6 results
- Logic returns 5 but condition unclear
- User doesn't know if more results exist
Expected behavior Consistent truncation logic, clear when results limited
Matcha version master
OS All
Additional context File: config/cache.go line 233 Boundary condition bug
This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.
Closing due to inactivity. Reopen if still relevant.