Closed (duplicate)
Project:
Webform
Version:
6.x-2.8
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2009 at 16:54 UTC
Updated:
6 Nov 2009 at 02:28 UTC
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)