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.
On one of our clients has a lot of webform submissions. (+ 3000)
When exporting: it takes ages (+15 mins) to export.
After a bit of research, _webform_csv_data_select was the killer.
I changed the following:
if ($component['extra']['multiple']) {
$value = _webform_filter_values($component['value'], NULL, NULL, FALSE);
$options = _webform_select_options($component['extra']['items'], TRUE);
When the select is not multiple, there is no need to filter values, and select options, because you return $data['value'].
Comments
Comment #1
quicksketch#309019: Downloads break (too many records)