TBS-EACPD / infobase

Source code for GC InfoBase / Code source de l'InfoBase du GC
https://canada.ca/GCInfoBase
Other
29 stars 5 forks source link

Service standards' total is always based off of most recent year #1618

Open Steph-Rancourt opened 4 months ago

Steph-Rancourt commented 4 months ago

When toggling through different years in the service standards panel (https://www.tbs-sct.canada.ca/ems-sgd/edb-bdd/index-eng.html#infographic/gov/gov/services/.-.-(panel_key.-.-'services_standards), you can see that the total remains the same (always based off the most recent year of reporting)

ServiceStandardsBug

From initial investigation, seems like an issue related all the way up to the data model. Will most likely need some tweaking of the files in server/src/models/services and client/src/models/services/queries/ServiceSummaryGov (and Org).

Code for the panel in question can be found here: client/src/panels/panel_declarations/services/services_standards.js