Skip to content

Exporting query results to CSV does not apply global filters #1882

Open
@slifty

Description

First: thank you for the project!

I have some nice report queries that I don't explicitly bind by time since they're going to be used throughout the year for various reporting windows. I tend to narrow the scope of the query to a specified time range using the Time input in the page header.

This updates the table that is rendered on page, but if I then click "Download as CSV" the resulting CSV exports the data that would have rendered had there not been any filters.

Would it be possible to have the CSV download reflect the data that's rendered in the query result pane / aka incorporate any filters that have been specified globally?

Here's an example use case:

image

Notice how the time range is 2024-05-21 to 2024-10-21 -- the results reflect that, but if I click Download as CSV the resulting csv has totals for ALL time (as though there was no range set)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions