Fill the per-member overdue rollup instead of sending zero

FixDocsService
Shipped
12 Agosti 2026, 17:43 UTC
Author
Kamo
Commit
83da750

Both summary services built members[] with .overdue(0). The Overview's matrix branches on that field, so legal and training could only ever render amber or green and the worst-first sort had nothing to sort by. Each now reads the new grouped query alongside the (member, status) histogram, reusing the same `now` it already gave the org-level count so the per-member figures sum to it. The open sets stay different on purpose. Legal passes OPEN_STATES. Training passes REMINDABLE_STATES for overdue while keeping OPEN_STATES for open: a member in AWAITING_GRADING genuinely has open work, but they finished on time and grading has not committed, so nothing about them is late. Asserted now rather than only commented.

All changes

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei