<brief>Container shows "0 plants" despite containing a plant; fix count query and audit siblings.</brief>
## Background / current behavior
A garden container (e.g. "plantie cabinet") shows "0 plants" when it contains at least one plant. Likely a query/join or container-association bug.
Relevant: `src/modules/garden/server/queries.ts`, container list/detail components.
## Expected behavior
Container plant counts match the number of plants associated with that container. Any other count displays sharing the same bug are fixed too.
## Acceptance criteria
- [ ] Container with N plants displays N (not 0).
- [ ] Audit other garden counts (lists, widgets) for the same pattern; fix or file follow-ups.
- [ ] Playwright: extend `tests/e2e/garden.spec.ts` — plant in container → count ≥ 1.
## Priority
P1 (batch step 3). Task brief: `docs/tasks/82-garden-plant-count.md`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Container shows "0 plants" despite containing a plant; fix count query and audit siblings.
Background / current behavior
A garden container (e.g. "plantie cabinet") shows "0 plants" when it contains at least one plant. Likely a query/join or container-association bug.
Relevant:
src/modules/garden/server/queries.ts, container list/detail components.Expected behavior
Container plant counts match the number of plants associated with that container. Any other count displays sharing the same bug are fixed too.
Acceptance criteria
tests/e2e/garden.spec.ts— plant in container → count ≥ 1.Priority
P1 (batch step 3). Task brief:
docs/tasks/82-garden-plant-count.md.