Closed Kaijiro closed 4 years ago
IMO this is the expected behavior.
WDYT @greg0ire ?
Not a bug indeed, but it would be great to have a config node for this.
or a second button? or changing the button name when selecting some rows?
"Export" -> "Export selection" ?
Exporting the selection would be another feature. Right now, it exports the current filtered page, there should be an option or a button to export all rows matching the current filter.
I agree with you @greg0ire, it is not really intuitive to have ONLY the current filtered page. Maybe we should have both export available, I don't really know how ...
IMO not a bug, if any, this could be consider an enhancement or a new feature
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
@OskarStark @greg0ire @jordisala1991 If I understand correctly your messages, you say that if there is 3 pages of 16 results on my list and I'm on page 1 when clicking export
, I'll get only the first 16 results ?
On my project I get all the 48 results when i'm exporting (but I don't know if we've overriden something for that). So It seems like the behaviour changed (in a more intuitive way IMO) and we can maybe close the issue (?)
Environment
Sonata packages
Symfony packages
PHP version
Subject
When creating a custom admin and doing an export, the pagination is applied in the export result : only the viewed page is exported instead of the whole set of result.
When applying filters and exporting, users often expect to retrieve the whole set of results in the CSV lines.