question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

While exporting CSV , only the entries on first page are getting downloaded even when user is on other pages

See original GitHub issue

When multiple pages are present in a report and user clicks on export CSV , only the data from first page is getting exported in CSV even when any other page is selected.

How to reproduce the bug

  1. Open any report
  2. Navigate to any other page using pagination
  3. Click on export CSV

Expected results- Csv file with entries of current page should get downloaded

Actual results- CSV file with entries of first page getting downloaded

Screenshots

image

Environment

  • browser :Chrome
  • superset version: 1.3.1

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:27 (15 by maintainers)

github_iconTop GitHub Comments

4reactions
noobyogi0010commented, Jan 11, 2022

Hi @amitmiran137 ! I would like to work on this issue if nobody has already taken it up. Thanks.

1reaction
mdeshmucommented, Jun 9, 2022

@LahmerIlyas “Export Full CSV” feature is already there controlled via flag ALLOW_FULL_CSV_EXPORT but it doesn’t work as expected. My understanding is, it should export full csv irrespective of what page you are on in dashboard or chart’s server page length value.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why only first page results get exported to csv? - Stack Overflow
Basically, you only paginate the query when you respond with html. When csv is requested, all of the orders will still be there....
Read more >
Excel formatting and features that are not transferred to other ...
This file format (.txt) saves only the text and values as they are displayed in cells of the active worksheet. Columns of data...
Read more >
Exporting data to a JSON, CSV, or XML file - Zendesk help
To export data to a downloadable file​​ In Admin Center, click Account in the sidebar, then select Tools > Reports. If necessary, click...
Read more >
How to Export Form Entries From WordPress to a CSV File
Click on the Download Export File button (you can open the CSV file in Excel). How to Export WordPress Form Entries in CSV:...
Read more >
How to convert CSV to Excel by opening or importing - Ablebits
Browse for the CSV document, and then double-click it to open. A comma separated values file (.csv) will be opened in a new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found