Open scloo opened 6 years ago
Also there was a whole bunch of console errors about "Can't find facility xxxxxx" as shown in screenshot below: (These only occur for Zanzibar data but not on democs)
There seem to be a inconsistent usage of the FacilityHierarchy class. Supposed to switch to GeoHierarchy class which combines FacilityHierarchy methods. However in different places, it was calling the FacilityHierarchy methods. Fixed the codes to use methods in the GeoHierarchy class and no longer showing the null values.
However there is still a performance issue. When we switch the filter attributes, example, switching from District to Facility before the processing ends, it will still continue to process for District and then proceed to process Facility. Hence it takes a bit longer than desired to get the result for Facility in this case. Suspect that it is due to using Promises which is asynchronous.
Well, it's better, but why am I seeing "2016q4" for a 2017 time period? There are certainly other odd values on this report.
There are many empty columns on the right of this report. It still doesn't look right to me.
The report shows null values in the Zone and District columns, when selecting the Facility filter.![screen1.png](https://waffleio-direct-uploads-production.s3.amazonaws.com/uploads/571a5f9b500b7b0e00eca657/125516c66e82c728ace21e0d46fb978826878df8cda5fd53b652fa912a5265296b51f47a2780b67de814780757581cff13585f46ffaf8c22a3a42062c80d55b98e30063e937f03a6aa8318b500bf218e4a81b1b8884dc0ed3437aa.png)