I'm using views_data_export module to export a view result as csv file. Everything works well untill the view we want to export is empty. If there is no result, the csv header row is not generated and the file is empty.
The extractHeaders method seems to priorities results keys over view fields in case of view context. It doesn't seems to be a bug.
The file is empty with no header row.
In case we have a views_style_plugin context, assume that view fields are our header (at least when there is no data).
I'm not sure why this filtering code has been written so I don't know if we can just remove it.
Choose either if we keep that filtering feature or not.
Active
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.