CSV export from the reports tab includes everything regardless of the applied filter

Describe the Bug
With older versions of CHT (tested on 3.10.2), it was possible to only download the reports that are being displayed in the reports tab after applying some filter.
This is not working in the newer versions of CHT (tested: 3.11.0, 3.13.0).

Is this no longer supported?

According to the CHT Docs:

Clicking on the “Export” button will download a CSV file with all of the data from the reports.

How To Reproduce The Issue

  1. As an admin user, go to the Reports tab
  2. Apply filters so that only a few reports are shown
  3. Click on Export
  4. Open the downloaded file

Expected Behavior
Only the filtered reports are exported

Environment

  • Instance: bhaktapur-ne.app, upgrade-muso-mali.app
  • Browser: Chrome
  • Client platform: Windows
  • App: webapp
  • Version: 3.11.0 - 3.13.0

Additional Context
Place filter shows [object Promise] when selecting the lowest level place in the filter.

2 Likes

Hi @binod

Thanks a lot for reporting!
I’ve created two new issues to track these in GitHub: Incorrect place filter label when selecting only one place · Issue #7463 · medic/cht-core · GitHub and Webapp report filters are not applied to export · Issue #7464 · medic/cht-core · GitHub

1 Like