I had the problem that the csv export always printed the node title at [0][0]. I did not what that to happen. Adding another hook in webform.report.inc -> webform_results_download_headers() allowed me to override the title with an empty string.
A more optimal solution would include the option to remove the row entirely. Meaning the headers start in row 0.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 2910805_overwrite_title_csv.patch | 365 bytes | lambic |
| #5 | 2910805_overwrite_title_csv.patch | 466 bytes | lambic |
| #2 | 2910805_overwrite_title_csv.patch | 685 bytes | woldtwerk |
Comments
Comment #2
woldtwerk commentedComment #3
liam morlandWhen submitting a new patch, always set it to "needs review".
Comment #5
lambic commentedComment #6
lambic commentedComment #7
liam morlandComment #8
liam morlandDrupal 7 is no longer supported. If this applies to a supported version, please re-open.