Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have an issue with the execute function in views_data_export_plugin_display_export being inefficient. Since it calls $this->is_batched() before trying to get the edit from $_GET['eid'], then inside is_batched() it ends up building the query and executing it, which in my case can result in ridiculously inefficient queries. And it is kind of pointless, because if we got the eid before then, then is_batched() would execute very quickly. Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#1 | views_data_export-is_batch_performance-2130619-1.patch | 1.08 KB | bdlangton |
Comments
Comment #1
bdlangton CreditAttribution: bdlangton commentedComment #2
bdlangton CreditAttribution: bdlangton commentedComment #3
greggadsdon CreditAttribution: greggadsdon at ComputerMinds commentedAs Drupal 6 nears the end of its life and support period, the 6.x version of Views Data Export will not be supported either. To that end, this issue has been closed, and will not be resolved in the 6.x branch of Views Data Export.
If this issue is still relevant to 7.x branch of Views Data Export, then please re-open and move to a relevant 7.x version.