IFRCGo / cbs

Red Cross: Community-Based Surveillance
https://cbsrc.org/
Other
102 stars 110 forks source link

Analytics data not aggregated #1214

Closed gardnk closed 5 years ago

gardnk commented 5 years ago

In CaseReportEventProcessor in Analytics, the aggregation that is done if the health risk is already reported on for that day/week is not stored. This results in the data in the tables not being correct.

The bug is in these two functions: