Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1924] make CSV downloads respect pagination #2419

Merged
merged 1 commit into from
Aug 18, 2013
Merged

[1924] make CSV downloads respect pagination #2419

merged 1 commit into from
Aug 18, 2013

Conversation

seanlinsley
Copy link
Contributor

Fixes #1924

The old behavior was: if you're on the first page, export 10,000 records. If you're on any other page, don't export anything.

The problem was that a true export functionality (where every single record is exported) wasn't ever fully implemented. Until such a PR exists, I'm removing the code that caused this, so CSV export respects pagination.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0%) when pulling a8ad4f9 on Daxter:bugfix/1924-csv-pagination into eba8176 on gregbell:master.

@seanlinsley seanlinsley merged commit a8ad4f9 into activeadmin:master Aug 18, 2013
@seanlinsley seanlinsley deleted the bugfix/1924-csv-pagination branch August 18, 2013 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Active Admin generates empty CSV files for anything past the first page
4 participants