Export to CSV doesn't work in the All-Time Reporting Timeliness section in the Stockout report

Description

Description:
All-Time Reporting Timeliness section exported to CSV has invalid data.

Reproduction steps:
1. Go to "Reports" -> "View reports" -> Stockout
2. There should be some data available - if not:

  • Create, Authorize and Approve a requisition with at least one product (if there is no previous requisition data)

  • Run processors groups on the NiFi, so the data will be fetched to reports

3. Select some processing periods in the filter to limit the results
4. Click on three dots in All-Time Reporting Timeliness section
5. Click on Export to CSV

Expected result:
The CSV file should contain the following columns:

  • Reporting Timeliness;

  • Number of Facilities.

Actual Result:
(as seen on the screenshots)
The CSV file contains only reporting_timeliness and count columns (and the data in count column is not reflecting the actual data)

Environment

Assignee

Unassigned

Reporter

Oskar Hinc

Labels

Components

Priority

Minor
Configure