# 82 — Garden container plant count ## Goal Fix container plant counts so a container with N plants displays N, and audit sibling counts for the same bug. ## Why Containers (e.g. "plantie cabinet") show "0 plants" despite containing plants — likely a query/join or association bug. ## Depends on - 71 (garden containers), 72 (garden plants) ## Scope - Find and fix the count query in `src/modules/garden/server/queries.ts` (and related UI). - 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. ## Out of scope - New garden features. ## Acceptance criteria - [ ] Container with N plants displays N (not 0). - [ ] Sibling counts audited; fixed or follow-ups filed. - [ ] E2E covers plant-in-container count. ## Notes - Gitea: [ginnoir/famapp#3](https://gitea.ginnoir.com/ginnoir/famapp/issues/3)